pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: AW: AW: [Extern] Re: autovacuum on pg_catalog tables
Date: Mon, 07 Jun 2021 11:52:01 -0400
Message-ID: <879768.1623081121@sss.pgh.pa.us> (raw)
In-Reply-To: <e9101119a6d74174b9b249ddefebc9fe@zuerich.ch>
References: <e9101119a6d74174b9b249ddefebc9fe@zuerich.ch>

"Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch> writes:
> I tried this on postgres 9.6:

> postgresql.conf -> allow_system_table_mods=on   +  pg_ctl restart

> # alter table pg_catalog.pg_shdepend set (autovacuum_vacuum_scale_factor = 0, autovacuum_vacuum_threshold = 1000);
> ERROR:  shared tables cannot be toasted after initdb
> Time: 0.618 ms
> # alter table pg_catalog.pg_largeobject set (autovacuum_vacuum_scale_factor = 0, autovacuum_vacuum_threshold = 1000);
> ERROR:  AccessExclusiveLock required to add toast table.
> Time: 0.590 ms

Interesting.  FWIW, these examples do seem to work in v12 and up.
Since we don't consider this a supported case, I doubt anyone would
be interested in trying to back-port whatever rearrangement allowed
it to work.

			regards, tom lane





view thread (2+ messages)

Message-ID: <879768.1623081121@sss.pgh.pa.us>
Permalink:  ../879768.1623081121@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/879768.1623081121@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Markus.Zwettler@zuerich.ch
  Subject: Re: [Extern] Re: autovacuum on pg_catalog tables
  In-Reply-To: <879768.1623081121@sss.pgh.pa.us>
  References: <e9101119a6d74174b9b249ddefebc9fe@zuerich.ch> <879768.1623081121@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