pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Euler Taveira de Oliveira <euler@timbira.com>
To: pgsql-bugs@postgresql.org
Subject: Re: CREATEROLE does not permit commenting on newly-created roles
Date: Tue, 08 Mar 2011 02:06:13 -0300
Message-ID: <4D75B945.7040304@timbira.com> (raw)
In-Reply-To: <AANLkTikUMg1VZZ8QoE+kniY8p31k7bmJZ=JB+ABeXLY6@mail.gmail.com>
References: <AANLkTikUMg1VZZ8QoE+kniY8p31k7bmJZ=JB+ABeXLY6@mail.gmail.com>

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.


[1] http://www.postgresql.org/docs/9.0/static/sql-comment.html


-- 
   Euler Taveira de Oliveira
   http://www.timbira.com/



view thread (10+ messages)  latest in thread

Message-ID: <4D75B945.7040304@timbira.com>
Permalink:  ../4D75B945.7040304@timbira.com/
Also on:    postgresql.org/message-id/4D75B945.7040304@timbira.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: euler@timbira.com
  Subject: Re: CREATEROLE does not permit commenting on newly-created roles
  In-Reply-To: <4D75B945.7040304@timbira.com>
  References: <AANLkTikUMg1VZZ8QoE+kniY8p31k7bmJZ=JB+ABeXLY6@mail.gmail.com> <4D75B945.7040304@timbira.com>

* 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