[DOCS] CREATE USER

2011-12-09 Thread Jaime Casanova
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

Re: [DOCS] CREATE USER

2011-12-09 Thread Tom Lane
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

Re: [DOCS] CREATE USER

2011-12-09 Thread Jaime Casanova
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