]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve CREATE POLICY documentation
authorStephen Frost <sfrost@snowman.net>
Tue, 15 Dec 2015 15:08:14 +0000 (10:08 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 15 Dec 2015 15:08:14 +0000 (10:08 -0500)
commit46ae55c372761af5e02082ea934bebcba98040a4
tree94883b7f5a875a4b019d2f0c39dc92f2f609153e
parent651e2ba74af997c2952672397828636dc6c6d017
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.
doc/src/sgml/ref/create_policy.sgml