Re: [HACKERS] RFC: create/alter user extension - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] RFC: create/alter user extension
Date
Msg-id 28742.942466202@sss.pgh.pa.us
Whole thread Raw
In response to RFC: create/alter user extension  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [HACKERS] RFC: create/alter user extension  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Is everyone okay with the following syntax:
> CREATE USER username
> [ WITH ID digits ]
> ^^^^^^^^^^^^^^^^^^

> 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.

I'd be inclined to go with UID or SYSID.  In any case, since the new
keyword is used in such a limited context, we could almost certainly
still allow it as a ColId and thus not create any real compatibility
problem.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] compression in LO and other fields
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Slow - grindingly slow - query