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 a5b652f3a0.
Date: Mon, 03 Feb 2020 03:48:10 +0000
Message-ID: <E1iySiY-0004GF-Gg@gemulon.postgresql.org> (raw)

Revert commit a5b652f3a0.

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_11_STABLE

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

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



Message-ID: <E1iySiY-0004GF-Gg@gemulon.postgresql.org>
Permalink:  ../E1iySiY-0004GF-Gg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iySiY-0004GF-Gg@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 a5b652f3a0.
  In-Reply-To: <E1iySiY-0004GF-Gg@gemulon.postgresql.org>
  References: <E1iySiY-0004GF-Gg@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