From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | hackers(at)postgresql(dot)org |
Subject: | RFC: create/alter user extension |
Date: | 1999-11-12 15:02:45 |
Message-ID: | Pine.LNX.4.20.9911121555290.1261-100000@peter-e.yi.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Is everyone okay with the following syntax:
CREATE USER username
[ WITH ID digits ]
^^^^^^^^^^^^^^^^^^
[ WITH PASSWORD password ]
[ CREATEDB | NOCREATEDB ]
[ CREATEUSER | NOCREATEUSER ]
[ IN GROUP groupname [, ...] ]
[ VALID UNTIL 'abstime' ]
ALTER USER username
[ WITH ID digits ]
^^^^^^^^^^^^^^^^^^
[ WITH PASSWORD password ]
[ CREATEDB | NOCREATEDB ]
[ CREATEUSER | NOCREATEUSER ]
[ IN GROUP groupname [, ...] ]
[ VALID UNTIL 'abstime' ]
The catch is that ID would have to be a new keyword and we'd have to live
with that for a long time. Other choices include:
* UID
* SYSID
* USESYSID
etc.
What do the standards and pseudo-standards say?
I think I'll take a stab at this and settle the createuser script issue
the proper way.
-Peter
--
Peter Eisentraut Sernanders vaeg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden
From | Date | Subject | |
---|---|---|---|
Next Message | Philip Warner | 1999-11-12 15:07:23 | Re: [HACKERS] compression in LO and other fields |
Previous Message | Tom Lane | 1999-11-12 14:58:14 | Re: [HACKERS] Slow - grindingly slow - query |