Re: Internal error while setting reloption on system catalogs. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Internal error while setting reloption on system catalogs.
Date
Msg-id 20605.1549378908@sss.pgh.pa.us
Whole thread Raw
In response to Internal error while setting reloption on system catalogs.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Responses Re: Internal error while setting reloption on system catalogs.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
List pgsql-hackers
Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.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


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Memory contexts reset for trigger invocations
Next
From: Andrew Dunstan
Date:
Subject: Re: fast defaults in heap_getattr vs heap_deform_tuple