pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kirill Reshke <reshkekirill@gmail.com>
Cc: rekgrpth@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19097: System catalog modifications are allowed by alter
Date: Wed, 29 Oct 2025 10:17:28 -0400
Message-ID: <2726862.1761747448@sss.pgh.pa.us> (raw)
In-Reply-To: <CALdSSPge_F_R5H6B6n5vi4TpMnPucF4gj2_V4qEfZEAnLD0s6A@mail.gmail.com>
References: <19097-bfe65aa1043dba27@postgresql.org>
	<CALdSSPge_F_R5H6B6n5vi4TpMnPucF4gj2_V4qEfZEAnLD0s6A@mail.gmail.com>

Kirill Reshke <reshkekirill@gmail.com> writes:
> reproduced here on v13, v16, v18 and HEAD. Looks like we need to teach
> ExecAlterObjectSchemaStmt to respect allow_system_table_mods GUC.

allow_system_table_mods has never been intended to be bulletproof,
only to slow down careless superusers.  I'm not especially concerned
about whether there are paths it doesn't cover.

			regards, tom lane





view thread (5+ messages)

Message-ID: <2726862.1761747448@sss.pgh.pa.us>
Permalink:  ../2726862.1761747448@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2726862.1761747448@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, reshkekirill@gmail.com, rekgrpth@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #19097: System catalog modifications are allowed by alter
  In-Reply-To: <2726862.1761747448@sss.pgh.pa.us>

* 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