Re: ALTER TABLE on system catalogs

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER TABLE on system catalogs
Date: 2018-06-27 23:10:28
Message-ID: 20180627230838.GI2667@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 27, 2018 at 01:37:33PM -0700, Andres Freund wrote:
> On 2018-06-27 22:31:30 +0200, Peter Eisentraut wrote:
>> I propose that we instead silently ignore attempts to add TOAST tables
>> to shared and system catalogs after bootstrapping.
>
> That seems like an extremely bad idea to me. I'd rather go ahead and
> just add the necessary toast tables than silently violate preconditions
> that code assumes are fulfilled.

Agreed. Joe Conway was working on a patch to do exactly that. I was
personally looking for the possibility of having one with pg_authid in
v12 :)
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2018-06-27 23:35:51 Re: [WIP] [B-Tree] Retail IndexTuple deletion
Previous Message Alvaro Herrera 2018-06-27 22:58:18 Re: Remove mention in docs that foreign keys on partitioned tables are not supported