Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aw6xT-0001M3-GU for pgsql-committers@arkaria.postgresql.org; Fri, 29 Apr 2016 11:51:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aw6xT-0007AZ-2P for pgsql-committers@arkaria.postgresql.org; Fri, 29 Apr 2016 11:51:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aw6xG-0006rd-32 for pgsql-committers@postgresql.org; Fri, 29 Apr 2016 11:51:30 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aw6xC-0004Xz-D2 for pgsql-committers@postgresql.org; Fri, 29 Apr 2016 11:51:29 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1aw6xA-0002d4-TK; Fri, 29 Apr 2016 07:51:24 -0400 Date: Fri, 29 Apr 2016 07:51:24 -0400 From: Bruce Momjian To: Stephen Frost Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Reserve the "pg_" namespace for roles Message-ID: <20160429115124.GB28792@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Fri, Apr 8, 2016 at 08:56:34PM +0000, Stephen Frost wrote: > Reserve the "pg_" namespace for roles > > This will prevent users from creating roles which begin with "pg_" and > will check for those roles before allowing an upgrade using pg_upgrade. > > This will allow for default roles to be provided at initdb time. Nice you added the check to pg_upgrade, but I assume a pg_dumpall restore is going to fail pretty badly, e.g. any pg_* object assignment will fail. I guess there isn't much we can do to fix that. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers