public inbox for [email protected]  
help / color / mirror / Atom feed
From: Robert Haas <[email protected]>
To: Grzegorz Szpetkowski <[email protected]>
Cc: [email protected]
Subject: Re: createuser/dropuser username
Date: Thu, 19 May 2011 16:15:23 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Wed, May 4, 2011 at 12:05 PM, Grzegorz Szpetkowski
<[email protected]> wrote:
> Hi,
>
> I think that createuser/drouser reference documentation could be
> enhanced for username param. There is:
>
> "createuser is a wrapper around the SQL command CREATE ROLE. There is
> no effective difference between creating users via this utility and
> via other methods for accessing the server."
>
> http://www.postgresql.org/docs/9.0/static/app-createuser.html
> http://www.postgresql.org/docs/9.0/static/app-dropuser.html
>
> But createuser and dropuser wrappers in some cases are doing implicit
> quoting (when CREATE ROLE is not), which I think is not fully known
> and is undocumented here. For example:

I'm not sure this really needs to be documented, but what exactly do
you have in mind?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



view thread (18+ 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]
  Subject: Re: createuser/dropuser username
  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