When I write:
CREATE TABLE accounts ( username varchar(64) PRIMARY KEY,
I get a primary key with the name:
accounts_pkey
Can I assign my own username, for example, "accounts_primary_key"?
The same story about UNIQUE .
I could not find it in the PostgreSQL documentation.
Thanks in advance.
indexing postgresql constraints primary-key unique-key
Maciej Ziarko Dec 29 '11 at 23:11 2011-12-29 23:11
source share