pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make pg_shseclabel available in early backend startup
Date: Tue, 05 Jan 2016 17:51:42 +0000
Message-ID: <E1aGVlm-0002FY-S5@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Make pg_shseclabel available in early backend startup

While the in-core authentication mechanism doesn't need to access
pg_shseclabel at all, it's reasonable to think that an authentication
hook will want to look at the label for the role logging in, or for rows
in other catalogs used during the authentication phase of startup.

Catalog version bumped, because this changes the "is nailed" status for
pg_shseclabel.

Author: Adam Brightwell

Branch
------
master

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

Modified Files
--------------
src/backend/utils/cache/relcache.c  |   26 +++++++++++++++++---------
src/include/catalog/catversion.h    |    2 +-
src/include/catalog/pg_shseclabel.h |    7 +++++--
3 files changed, 23 insertions(+), 12 deletions(-)


-- 
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: <E1aGVlm-0002FY-S5@gemulon.postgresql.org>
Permalink:  ../E1aGVlm-0002FY-S5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aGVlm-0002FY-S5@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Make pg_shseclabel available in early backend startup
  In-Reply-To: <E1aGVlm-0002FY-S5@gemulon.postgresql.org>
  References: <E1aGVlm-0002FY-S5@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