diff options
author | Fujii Masao <fujii@postgresql.org> | 2020-01-31 00:42:06 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2020-01-31 00:43:28 +0900 |
commit | de0177788bf3f0531af32cd5143a73e1234862d3 (patch) | |
tree | 717aba63d76b111a18d9cf9807ed95629acb55df /contrib/jsonb_plpython | |
parent | 3228512b7b2b6767b5f34768a958ed812118aa4d (diff) | |
download | postgresql-de0177788bf3f0531af32cd5143a73e1234862d3.tar.gz postgresql-de0177788bf3f0531af32cd5143a73e1234862d3.zip |
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 'contrib/jsonb_plpython')
0 files changed, 0 insertions, 0 deletions