]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert commit 56bc82a511.
authorFujii Masao <fujii@postgresql.org>
Mon, 3 Feb 2020 03:45:01 +0000 (12:45 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 3 Feb 2020 03:45:01 +0000 (12:45 +0900)
commitd034ab0bb2ae9300e91f9272abd4872bf53ce8d7
tree63f20c53aab9759e9ac563a3954362bfe65cad81
parent95936c795b9f086c2b413b5150d2993ac30354fa
Revert commit 56bc82a511.

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