pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Improve CREATE POLICY documentation 3+ messages / 1 participants [nested] [flat]
* pgsql: Improve CREATE POLICY documentation @ 2015-01-29 03:16 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 3+ messages in thread From: Stephen Frost @ 2015-01-29 03:16 UTC (permalink / raw) To: pgsql-committers Improve CREATE POLICY documentation The CREATE POLICY documention didn't sufficiently clarify what happens when a given command type (eg: ALL or UPDATE) accepts both USING and WITH CHECK clauses, but only the USING clause is defined. Add language to clarify that, in such a case, the USING clause will be used for both USING and WITH CHECK cases. Pointed out by Peter Geoghegan. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/42f66b27566798d9969791ec6d2acd399c41b60f Modified Files -------------- doc/src/sgml/ref/create_policy.sgml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) -- 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] 3+ messages in thread
* pgsql: Improve CREATE POLICY documentation @ 2015-12-15 15:08 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 3+ messages in thread From: Stephen Frost @ 2015-12-15 15:08 UTC (permalink / raw) To: pgsql-committers Improve CREATE POLICY documentation Clarify that SELECT policies are now applied when SELECT rights are required for a given query, even if the query is an UPDATE or DELETE query. Pointed out by Noah. Additionally, note the risk regarding concurrently open transactions where a relation which controls access to the rows of another relation are updated and the rows of the primary relation are also being modified. Pointed out by Peter Geoghegan. Back-patch to 9.5. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/46ae55c372761af5e02082ea934bebcba98040a4 Modified Files -------------- doc/src/sgml/ref/create_policy.sgml | 113 ++++++++++++++++++++++++++--------- 1 file changed, 86 insertions(+), 27 deletions(-) -- 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] 3+ messages in thread
* pgsql: Improve CREATE POLICY documentation @ 2015-12-15 15:08 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 3+ messages in thread From: Stephen Frost @ 2015-12-15 15:08 UTC (permalink / raw) To: pgsql-committers Improve CREATE POLICY documentation Clarify that SELECT policies are now applied when SELECT rights are required for a given query, even if the query is an UPDATE or DELETE query. Pointed out by Noah. Additionally, note the risk regarding concurrently open transactions where a relation which controls access to the rows of another relation are updated and the rows of the primary relation are also being modified. Pointed out by Peter Geoghegan. Back-patch to 9.5. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/43cd468cf01007f39312af05c4c92ceb6de8afd8 Modified Files -------------- doc/src/sgml/ref/create_policy.sgml | 113 ++++++++++++++++++++++++++--------- 1 file changed, 86 insertions(+), 27 deletions(-) -- 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] 3+ messages in thread
end of thread, other threads:[~2015-12-15 15:08 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-01-29 03:16 pgsql: Improve CREATE POLICY documentation Stephen Frost <sfrost@snowman.net> 2015-12-15 15:08 pgsql: Improve CREATE POLICY documentation Stephen Frost <sfrost@snowman.net> 2015-12-15 15:08 pgsql: Improve CREATE POLICY documentation 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