pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Ron Adams <ron@constellationmedia.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: Discrepancy in 9.1 Documentation on CREATE ROLE
Date: Tue, 11 Oct 2011 10:44:34 -0400 (EDT)
Message-ID: <201110111444.p9BEiYL14010@momjian.us> (raw)
In-Reply-To: <CA+TgmoafQga7wwv0wFj3KUqTa_=3GbEzgzOgONHPqVoG9KC2qg@mail.gmail.com>

Robert Haas wrote:
> On Thu, Oct 6, 2011 at 10:48 PM, Ron Adams <ron@constellationmedia.com> wrote:
> > The help for LOGIN/NOLOGIN at
> > http://www.postgresql.org/docs/9.1/static/sql-createrole.html: "...NOLOGIN
> > is the default, except when CREATE ROLE is invoked through its alternative
> > spelling CREATE USER." The help for CREATE USER: "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!" Eh?
> 
> OK, brace yourself...
> 
> You're mixing up the CREATEUSER option to the CREATE ROLE command with
> the completely separate command CREATE USER.
> 
> See http://www.postgresql.org/docs/9.1/static/sql-createuser.html
> 
> I wonder if we ought to consider removing CREATEUSER and NOCREATEUSER
> as synonyms for SUPERUSER and NOSUPERUSER.  It looks like that change
> was made in 8.1, which is now EOL.

Agreed.  They might still appear in dumps so maybe just remove
documentation about them.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (10+ messages)  latest in thread

Message-ID: <201110111444.p9BEiYL14010@momjian.us>
Permalink:  ../201110111444.p9BEiYL14010@momjian.us/
Also on:    postgresql.org/message-id/201110111444.p9BEiYL14010@momjian.us

 · 

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: pgsql-docs@postgresql.org
  Cc: bruce@momjian.us, robertmhaas@gmail.com, ron@constellationmedia.com
  Subject: Re: Discrepancy in 9.1 Documentation on CREATE ROLE
  In-Reply-To: <201110111444.p9BEiYL14010@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox