Hi,
I just notice that when you create a user using CREATE USER and give
the user the ability to create other users it gets created as
SUPERUSER. CREATE ROLE behaves as expected.
Looking at src/backend/parser/gram.y seems it's intentional, for
backwards compatibility. But the docs says:
"""
CREAT
Jaime Casanova writes:
> I just notice that when you create a user using CREATE USER and give
> the user the ability to create other users it gets created as
> SUPERUSER.
Are you talking about the CREATEUSER option? That is documented, quite
clearly I think:
CREATEUSER
NOCREATEU
On Fri, Dec 9, 2011 at 10:21 PM, Tom Lane wrote:
> Jaime Casanova writes:
>> I just notice that when you create a user using CREATE USER and give
>> the user the ability to create other users it gets created as
>> SUPERUSER.
>
> Are you talking about the CREATEUSER option? That is documented, qu