pgsql: Ensure a few policies remain for pg_upgrade - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: Ensure a few policies remain for pg_upgrade
Date
Msg-id E1ZgePt-0003d4-6u@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Ensure a few policies remain for pg_upgrade

To make sure that pg_dump/pg_restore function properly with RLS
policies, arrange to have a few of them left around at the end of the
regression tests.

Back-patch to 9.5 where RLS was added.

Branch
------
REL9_5_STABLE

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

Modified Files
--------------
src/test/regress/expected/rowsecurity.out |    9 +++++++++
src/test/regress/output/misc.source       |    3 ++-
src/test/regress/sql/rowsecurity.sql      |   10 ++++++++++
3 files changed, 21 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: COPY: use pg_plan_query() instead of planner()
Next
From: Stephen Frost
Date:
Subject: pgsql: Ensure a few policies remain for pg_upgrade