Add usebypassrls to pg_user and pg_shadow

Enterprise / PostgreSQL - Stephen Frost [snowman.net] - 28 January 2015 20:47 UTC

The row level security patches didn't add the 'usebypassrls' columns to the pg_user and pg_shadow views on the belief that they were deprecated, but we havn't actually said they are and therefore we should include it.

This patch corrects that, adds missing documentation for rolbypassrls into the system catalog page for pg_authid, along with the entries for pg_user and pg_shadow, and cleans up a few other uses of 'row-level' cases to be 'row level' in the docs.

Pointed out by Amit Kapila.

Catalog version bump due to system view changes.

c7cf9a2 Add usebypassrls to pg_user and pg_shadow
doc/src/sgml/catalogs.sgml | 33 +++++++++++++++++++++++++++++++--
src/backend/catalog/system_views.sql | 2 ++
src/include/catalog/catversion.h | 2 +-
src/test/regress/expected/rules.out | 2 ++
4 files changed, 36 insertions(+), 3 deletions(-)

Upstream: git.postgresql.org


  • Share