]> granicus.if.org Git - postgresql/commit
Improve CREATE POLICY documentation
authorStephen Frost <sfrost@snowman.net>
Tue, 15 Dec 2015 15:08:09 +0000 (10:08 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 15 Dec 2015 15:08:09 +0000 (10:08 -0500)
commit43cd468cf01007f39312af05c4c92ceb6de8afd8
tree325168dd50b11b309431a029cf1fc94e72047fca
parente5e11c8cca7ae298895430102217fa6d77cfb2a3
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