Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id CB77A1337B9C for ; Tue, 8 Mar 2011 01:06:35 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 54222-07 for ; Tue, 8 Mar 2011 05:06:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mail.postgresql.org (Postfix) with SMTP id B4A8B133798E for ; Tue, 8 Mar 2011 01:06:27 -0400 (AST) Received: (qmail 2009 invoked by uid 0); 8 Mar 2011 05:06:25 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by cpoproxy1.bluehost.com with SMTP; 8 Mar 2011 05:06:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=timbira.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=RzVlt7NMetGF+QQCPzFsaBawsBhKH8Vx1mGPP/0RiAH9gQ/BUCKfHCAUd+JfMksX1ZJDzDauZnva3EM1fJed9dnkdSnRfZGNafwgy1OT6TBThfu/vkTSmwxNuhCS3AG0; Received: from 200-140-104-68.pmjce203.dial.brasiltelecom.net.br ([200.140.104.68]) by host159.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pwp7o-0001XB-HY for pgsql-bugs@postgresql.org; Mon, 07 Mar 2011 22:06:25 -0700 Message-ID: <4D75B945.7040304@timbira.com> Date: Tue, 08 Mar 2011 02:06:13 -0300 From: Euler Taveira de Oliveira User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101227 Icedove/3.0.11 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: CREATEROLE does not permit commenting on newly-created roles References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 200.140.104.68 authed with euler@timbira.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201103/144 X-Sequence-Number: 29654 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/