From: | Joe Conway <joe(dot)conway(at)crunchydata(dot)com> |
---|---|
To: | Noah Misch <noah(at)leadboat(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: more RLS oversights |
Date: | 2015-07-29 01:36:45 |
Message-ID: | 55B82E2D.1040309@crunchydata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 07/03/2015 10:03 AM, Noah Misch wrote:
> (6) AlterPolicy() calls InvokeObjectPostAlterHook(PolicyRelationId, ...), but
> CreatePolicy() and DropPolicy() lack their respective hook invocations.
Patch attached. Actually AlterPolicy() was also missing its hook -- the
existing InvokeObjectPostAlterHook() was only in rename_policy().
I'm not 100% sure about the hook placement -- would appreciate if
someone could confirm I got it correct.
Joe
Attachment | Content-Type | Size |
---|---|---|
20150728.00-rls-hooks.patch | text/x-diff | 1.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2015-07-29 01:44:59 | Re: [DESIGN] ParallelAppend |
Previous Message | Andrew Dunstan | 2015-07-29 01:27:10 | Re: Buildfarm TAP testing is useless as currently implemented |