]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert commit 4b96c03a0a.
authorFujii Masao <fujii@postgresql.org>
Mon, 3 Feb 2020 03:41:40 +0000 (12:41 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 3 Feb 2020 03:41:40 +0000 (12:41 +0900)
commit8b1a6499d055f6f222e200fd6410073537d11f31
tree1150ab0e701d86f55cb6e6ece44e0c10c2286cce
parentaab30cd4eddaa7e2b028a009d3ee11be42ce6f1e
Revert commit 4b96c03a0a.

This commit reverts the fix "Make inherited TRUNCATE perform access
permission checks on parent table only" only in the back branches.

It's not hard to imagine that there are some applications expecting
the old behavior and the fix breaks their security. To avoid this
compatibility problem, we decided to apply the fix only in HEAD and
revert it in all supported back branches.

Discussion: https://postgr.es/m/21015.1580400165@sss.pgh.pa.us
src/backend/commands/tablecmds.c
src/test/regress/expected/privileges.out
src/test/regress/sql/privileges.sql