Re: CREATEROLE does not permit commenting on newly-created roles

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: CREATEROLE does not permit commenting on newly-created roles
Date: 2011-03-08 16:00:12
Message-ID: 1299599930-sup-5129@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Excerpts from Euler Taveira de Oliveira's message of mar mar 08 02:06:13 -0300 2011:
> Em 07-03-2011 16:53, Owen Jacobson escreveu:
> > psql:repro.sql:2: ERROR: must be member of role "commented_role" to
> > comment upon it
> >
> This isn't a bug; let say it is a limitation (and a documented one [1]).
> Unfortunately only the role, superuser or its members can add/drop comments.

Maybe it would be good to have a COMMENT clause on the CREATE ROLE
command. It would be inconsistent with the rest of the comment system,
but this privilege problem is inconsistent too.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dan Ports 2011-03-08 16:00:56 Re: BUG #5918: SummarizeOldestCommittedSxact assertion failure
Previous Message Torsten Zühlsdorff 2011-03-08 15:24:23 Re: Missing Bug-Report #5904?