aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.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
commit406df42a5f6d7139df50f190cb7845418f9c0cfa (patch)
treea4e53f30ce47ac275c679c5ab3eb8032bdfd7655 /src/backend/executor/execParallel.c
parente7688696db693fe4be8c08ce85fc2bc002bab285 (diff)
downloadpostgresql-406df42a5f6d7139df50f190cb7845418f9c0cfa.tar.gz
postgresql-406df42a5f6d7139df50f190cb7845418f9c0cfa.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/execParallel.c')
0 files changed, 0 insertions, 0 deletions