pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Ensure locks are acquired on RLS-added relations 2+ messages / 1 participants [nested] [flat]
* pgsql: Ensure locks are acquired on RLS-added relations @ 2015-08-28 15:40 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 2+ messages in thread From: Stephen Frost @ 2015-08-28 15:40 UTC (permalink / raw) To: pgsql-committers Ensure locks are acquired on RLS-added relations During fireRIRrules(), get_row_security_policies can add to securityQuals and withCheckOptions. Make sure to lock any relations added at that point and before firing RIR rules on those expressions. Back-patch to 9.5 where RLS was added. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/2ba9e2b778af7a8d040283db6cee11fb03cf9f4a Modified Files -------------- src/backend/rewrite/rewriteHandler.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Ensure locks are acquired on RLS-added relations @ 2015-08-28 15:40 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 2+ messages in thread From: Stephen Frost @ 2015-08-28 15:40 UTC (permalink / raw) To: pgsql-committers Ensure locks are acquired on RLS-added relations During fireRIRrules(), get_row_security_policies can add to securityQuals and withCheckOptions. Make sure to lock any relations added at that point and before firing RIR rules on those expressions. Back-patch to 9.5 where RLS was added. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/d03f3314b35cc4ac2be832cf63ae67a69ee4d93c Modified Files -------------- src/backend/rewrite/rewriteHandler.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-08-28 15:40 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-08-28 15:40 pgsql: Ensure locks are acquired on RLS-added relations Stephen Frost <sfrost@snowman.net> 2015-08-28 15:40 pgsql: Ensure locks are acquired on RLS-added relations Stephen Frost <sfrost@snowman.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox