| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com> |
| Cc: | pgsql-docs(at)postgresql(dot)org |
| Subject: | Re: createuser/dropuser username |
| Date: | 2011-05-19 20:15:23 |
| Message-ID: | BANLkTinBHVbx+Wqp9vAGLkW7LyEm5iK_0w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On Wed, May 4, 2011 at 12:05 PM, Grzegorz Szpetkowski
<gszpetkowski(at)gmail(dot)com> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2011-05-19 20:17:10 | Re: 5.3.5. Foreign Keys (The SQL Language) possible enhance |
| Previous Message | Grzegorz Szpetkowski | 2011-05-18 01:52:35 | Re: 7.2. Table Expressions suggestion about NATURAL JOIN |