]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert commit 928e755d22.
authorFujii Masao <fujii@postgresql.org>
Mon, 3 Feb 2020 03:42:45 +0000 (12:42 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 3 Feb 2020 03:42:45 +0000 (12:42 +0900)
commitc15b17f9276ef9a870775c7ed5e53ab4c91b2444
tree7ee50b804a1a0ff0b11470b9a1a528fbd2b24e2c
parent93be45245272fc9f59caecc3db949b49b464a2a1
Revert commit 928e755d22.

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