aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeAppend.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-07-30 11:54:41 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-07-30 11:54:41 -0400
commit9295d7cf50fbcf1f2be19f835c9b2b1f0186fd9b (patch)
treec2e35183286c8415f29b6003a34c1ae2c5daf601 /src/backend/executor/nodeAppend.c
parent98efa76fe313f62f84b94cd1f46c913c221b41fe (diff)
downloadpostgresql-9295d7cf50fbcf1f2be19f835c9b2b1f0186fd9b.tar.gz
postgresql-9295d7cf50fbcf1f2be19f835c9b2b1f0186fd9b.zip
Doc: fix oversimplified example for CREATE POLICY.
As written, this policy constrained only the post-image not the pre-image of rows, meaning that users could delete other users' rows or take ownership of such rows, contrary to what the docs claimed would happen. We need two separate policies to achieve the documented effect. While at it, try to explain what's happening a bit more fully. Per report from Олег Самойлов. Back-patch to 9.5 where this was added. Thanks to Stephen Frost for off-list discussion. Discussion: https://postgr.es/m/3298321532002010@sas1-2b3c3045b736.qloud-c.yandex.net
Diffstat (limited to 'src/backend/executor/nodeAppend.c')
0 files changed, 0 insertions, 0 deletions