diff options
author | Fujii Masao <fujii@postgresql.org> | 2020-01-31 00:44:08 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2020-01-31 00:44:08 +0900 |
commit | a5b652f3a0110f81d2433855ab6bec136f92db83 (patch) | |
tree | bdc69bcea602822fc73de88502c6139d96c3403e /src/tutorial | |
parent | 374464c3e96fe3d55dc82a8417b034de14222a0b (diff) | |
download | postgresql-a5b652f3a0110f81d2433855ab6bec136f92db83.tar.gz postgresql-a5b652f3a0110f81d2433855ab6bec136f92db83.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 'src/tutorial')
0 files changed, 0 insertions, 0 deletions