pgsql: Add missing post create and alter hooks to policy objects.

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add missing post create and alter hooks to policy objects.
Date: 2015-07-29 16:48:23
Message-ID: E1ZKUWl-0008Dw-G4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing post create and alter hooks to policy objects.

AlterPolicy() and CreatePolicy() lacked their respective hook invocations.
Noted by Noah Misch, review by Dean Rasheed. Back-patch to 9.5 where
RLS was introduced.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0bfbf14f93c30ec8f505baba79625f5a3b010405

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-07-29 17:28:11 pgsql: Add some test coverage of EvalPlanQual with non-locked tables.
Previous Message Joe Conway 2015-07-29 16:48:19 pgsql: Add missing post create and alter hooks to policy objects.