aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-02-07 00:33:11 +0900
committerFujii Masao <fujii@postgresql.org>2020-02-07 00:43:13 +0900
commit990acfc656c05d499f9aa642ea8cbfe5a6738a4e (patch)
treebe3ff0eae0a809dda0a94405db95ca2492b47dd8 /src/backend/access/gist/gistutil.c
parentdc06d0839a330d2a51ae10d1a168312b9daf7b0a (diff)
downloadpostgresql-990acfc656c05d499f9aa642ea8cbfe5a6738a4e.tar.gz
postgresql-990acfc656c05d499f9aa642ea8cbfe5a6738a4e.zip
Add note about access permission checks by inherited TRUNCATE and LOCK TABLE.
Inherited queries perform access permission checks on the parent table only. But there are two exceptions to this rule in v12 or before; TRUNCATE and LOCK TABLE commands through a parent table check the permissions on not only the parent table but also the children tables. Previously these exceptions were not documented. This commit adds the note about these exceptions, into the document. Back-patch to v9.4. But we don't apply this commit to the master because commit e6f1e560e4 already got rid of the exception about inherited TRUNCATE and upcoming commit will do for the exception about inherited LOCK TABLE. Author: Amit Langote Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/CA+HiwqHfTnMU6SUkyHxCmpHUKk7ERLHCR3vZVq19ZOQBjPBLmQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions