summaryrefslogtreecommitdiff
path: root/src/backend/executor/execScan.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-01-31 00:44:50 +0900
committerFujii Masao <fujii@postgresql.org>2020-01-31 00:44:50 +0900
commit4b96c03a0a2a6bdf685a0bef9fff1fb5f04516aa (patch)
treef1109db89f8c6b1bd0a36bc3aadfd9efba2503b7 /src/backend/executor/execScan.c
parent603e03b4c9e8f853ab15da45e6e72df718ec335c (diff)
Make inherited TRUNCATE perform access permission checks on parent table only.
Previously, TRUNCATE command through a parent table checked the permissions on not only the parent table but also the children tables inherited from it. This was a bug and inherited queries should perform access permission checks on the parent table only. This commit fixes that bug. Back-patch to all supported branches. Author: Amit Langote Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/CAHGQGwFHdSvifhJE+-GSNqUHSfbiKxaeQQ7HGcYz6SC2n_oDcg@mail.gmail.com
Diffstat (limited to 'src/backend/executor/execScan.c')
0 files changed, 0 insertions, 0 deletions