Re: CREATE USER

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: CREATE USER
Date: 2011-12-10 17:33:40
Message-ID: CAOR=d=1vfZ-akxCkoz=BUiLy9PtKdbu6fJUvFKtC+DtdzXKAKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Fri, Dec 9, 2011 at 8:36 PM, Jaime Casanova <jaime(at)2ndquadrant(dot)com> wrote:
> On Fri, Dec 9, 2011 at 10:21 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Jaime Casanova <jaime(at)2ndquadrant(dot)com> 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:
>>
>
> yes, i was. and it's seems you're right is documented... obviously i
> was looking at the wrong place
>
>>
>> The only way we could really make this any better is to remove these
>> keywords, which might be something to consider.  The preferred SUPERUSER
>> spelling has been accepted since 8.1 ... is that long enough to ensure
>> everyone's converted their client-side tools?  Probably not :-(
>>
>
> 6 years since enough for me... actually i have been around even before
> that and didn't remember that.
> even if you think is not worth remove these, even a WARNING should be good

Make sure the docs mention this and then remove it in the next major
release? Works for me.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2011-12-13 01:45:20 building the docs on Debian
Previous Message Jaime Casanova 2011-12-10 03:36:28 Re: CREATE USER