pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Disallow dropping rules on system tables by default
Date: Fri, 20 Dec 2019 07:32:14 +0000
Message-ID: <E1iiCli-00020Y-62@gemulon.postgresql.org> (raw)

Disallow dropping rules on system tables by default

This was previously not covered by allow_system_table_mods, but now it
is.  The impact in practice is probably low, but this makes it
consistent with most other DDL commands.

Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/ee9df1af-c0d8-7c82-5be7-39ce4e3b0a9d%402ndquadrant.com

Branch
------
master

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

Modified Files
--------------
src/backend/rewrite/rewriteRemove.c                           |  8 ++++++++
src/test/modules/unsafe_tests/expected/alter_system_table.out | 11 ++++++++++-
src/test/modules/unsafe_tests/sql/alter_system_table.sql      | 10 +++++++++-
3 files changed, 27 insertions(+), 2 deletions(-)



Message-ID: <E1iiCli-00020Y-62@gemulon.postgresql.org>
Permalink:  ../E1iiCli-00020Y-62@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iiCli-00020Y-62@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: peter@eisentraut.org
  Subject: Re: pgsql: Disallow dropping rules on system tables by default
  In-Reply-To: <E1iiCli-00020Y-62@gemulon.postgresql.org>
  References: <E1iiCli-00020Y-62@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