pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert commit 4b96c03a0a.
Date: Mon, 03 Feb 2020 03:47:39 +0000
Message-ID: <E1iySi3-0004FX-VK@gemulon.postgresql.org> (raw)

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8b1a6499d055f6f222e200fd6410073537d11f31

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



Message-ID: <E1iySi3-0004FX-VK@gemulon.postgresql.org>
Permalink:  ../E1iySi3-0004FX-VK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iySi3-0004FX-VK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Revert commit 4b96c03a0a.
  In-Reply-To: <E1iySi3-0004FX-VK@gemulon.postgresql.org>
  References: <E1iySi3-0004FX-VK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox