RFC: create/alter user extension
От
Peter Eisentraut
Тема
RFC: create/alter user extension
Дата
Msg-id
Pine.LNX.4.20.9911121555290.1261-100000@peter-e.yi.org
Список
Дерево обсуждения
RFC: create/alter user extension Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] RFC: create/alter user extension Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] RFC: create/alter user extension Peter Eisentraut <e99re41@DoCS.UU.SE>
Re: [HACKERS] RFC: create/alter user extension Tom Lane <tgl@sss.pgh.pa.us>
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@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
В списке pgsql-hackers по дате отправления
От: wieck@debis.com (Jan Wieck)
Дата: