pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Disallow SET SESSION AUTHORIZATION pg_*
Date: Thu, 14 Apr 2016 01:31:36 +0000
Message-ID: <E1aqW88-0007Pg-Ec@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Disallow SET SESSION AUTHORIZATION pg_*

As part of reserving the pg_* namespace for default roles and in line
with SET ROLE and other previous efforts, disallow settings the role
to a default/reserved role using SET SESSION AUTHORIZATION.

These checks and restrictions on what is allowed regarding default /
reserved roles are under debate, but it seems prudent to ensure that
the existing checks at least cover the intended cases while the
debate rages on.  On me to clean it up if the consensus decision is
to remove these checks.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bfed4ab824789fd7c000286650d4498dccb05634

Modified Files
--------------
src/backend/commands/variable.c | 4 ++++
1 file changed, 4 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1aqW88-0007Pg-Ec@gemulon.postgresql.org>
Permalink:  ../E1aqW88-0007Pg-Ec@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aqW88-0007Pg-Ec@gemulon.postgresql.org

 · 

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: sfrost@snowman.net
  Subject: Re: pgsql: Disallow SET SESSION AUTHORIZATION pg_*
  In-Reply-To: <E1aqW88-0007Pg-Ec@gemulon.postgresql.org>
  References: <E1aqW88-0007Pg-Ec@gemulon.postgresql.org>

* 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