pgsql: Make pg_shseclabel available in early backend startup - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Make pg_shseclabel available in early backend startup
Date
Msg-id E1aGVlm-0002FY-S5@gemulon.postgresql.org
Whole thread Raw
List pgsql-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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add to_regnamespace() and to_regrole() to the documentation.
Next
From: Tom Lane
Date:
Subject: pgsql: Make the to_reg*() functions accept text not cstring.