pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Reserve the "pg_" namespace for roles
Date: Fri, 29 Apr 2016 07:51:24 -0400
Message-ID: <20160429115124.GB28792@momjian.us> (raw)
In-Reply-To: <E1aodSE-0007Jp-22@gemulon.postgresql.org>
References: <E1aodSE-0007Jp-22@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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  <bruce@momjian.us>        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



view thread (4+ messages)  latest in thread

Message-ID: <20160429115124.GB28792@momjian.us>
Permalink:  ../20160429115124.GB28792@momjian.us/
Also on:    postgresql.org/message-id/20160429115124.GB28792@momjian.us

 · 

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-committers@postgresql.org
  Cc: bruce@momjian.us, sfrost@snowman.net
  Subject: Re: pgsql: Reserve the "pg_" namespace for roles
  In-Reply-To: <20160429115124.GB28792@momjian.us>
  References: <E1aodSE-0007Jp-22@gemulon.postgresql.org> <20160429115124.GB28792@momjian.us>

* 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