pgsql: Revert commit 56bc82a511.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert commit 56bc82a511.
Date: 2020-02-03 03:45:57
Message-ID: E1iySgP-0004Dh-Nj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d034ab0bb2ae9300e91f9272abd4872bf53ce8d7

Modified Files
--------------
src/backend/commands/tablecmds.c | 67 +++++++++-----------------------
src/test/regress/expected/privileges.out | 21 ----------
src/test/regress/sql/privileges.sql | 14 -------
3 files changed, 18 insertions(+), 84 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2020-02-03 03:46:20 pgsql: Revert commit 606f350de9.
Previous Message Tom Lane 2020-02-02 18:09:41 pgsql: Fix assorted error-cleanup bugs in SSL min/max protocol version