public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: Tom Lane <[email protected]>
Cc: Jaime Casanova <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: CREATE USER
Date: Tue, 13 Dec 2011 18:36:27 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
Tom Lane wrote:
> Jaime Casanova <[email protected]> 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
> NOCREATEUSER
>
> These clauses are an obsolete, but still accepted, spelling of
> SUPERUSER and NOSUPERUSER. Note that they are not equivalent to
> CREATEROLE as one might naively expect!
>
> 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 :-(
How does this relate to people restoring pre-8.1 pg_dumpall dumps?
Seems removing this option would cause the restore to fail.
--
Bruce Momjian <[email protected]> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
view thread (13+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: CREATE USER
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox