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 обсуждение исходный текст |
Ответы |
Re: [HACKERS] RFC: create/alter user extension
|
Список | 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@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
В списке pgsql-hackers по дате отправления: