Re: BUG #19097: System catalog modifications are allowed by alter - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #19097: System catalog modifications are allowed by alter
Date
Msg-id 2726862.1761747448@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #19097: System catalog modifications are allowed by alter  (Kirill Reshke <reshkekirill@gmail.com>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: BUG #19098: Can't create unique gist index, where pg_indexes says that WITHOUT OVERLAPS does exacly that
Next
From: Kirill Reshke
Date:
Subject: Re: BUG #19098: Can't create unique gist index, where pg_indexes says that WITHOUT OVERLAPS does exacly that