Re: Internal error while setting reloption on system catalogs.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Internal error while setting reloption on system catalogs.
Date: 2019-02-05 15:01:48
Message-ID: 20605.1549378908@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> writes:
> The following command complains with an internal
> error. (allow_system_table_mods is on).

> alter table pg_attribute set (fillfactor = 90);
>> ERROR: AccessExclusiveLock required to add toast table.

> The same happens for pg_class.

Isn't this more or less the same thing Peter E. was attempting to fix in
https://commitfest.postgresql.org/22/1764/
?

> The first attached is for master and 11.
> The second is for 10.
> The third is for 9.6.

It's not clear to me that we ought to consider catalog alterations
supported at all, but in any case I wouldn't treat it as something
to back-patch.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2019-02-05 15:14:48 Re: fast defaults in heap_getattr vs heap_deform_tuple
Previous Message Andres Freund 2019-02-05 14:55:27 Re: Memory contexts reset for trigger invocations