pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: autovacuum on system catalog
Date: Tue, 3 Apr 2018 07:21:05 -0500
Message-ID: <91729b69-31bf-24e3-6103-255b92f79333@gmail.com> (raw)
In-Reply-To: <CANYYVqLZKPi8F9jVSJ8akyo3Efvm_2Ta8=zC7MWUzURyhrr8Xg@mail.gmail.com>
References: <CANYYVqLZKPi8F9jVSJ8akyo3Efvm_2Ta8=zC7MWUzURyhrr8Xg@mail.gmail.com>

On 04/03/2018 07:16 AM, Artem Tomyuk wrote:
> Hi.
>
> Why its not possible to set autovacuum settings on pg_attribute?
>
> alter table pg_attribute set (autovacuum_vacuum_scale_factor = 0.0);
> alter table pg_attribute set (autovacuum_vacuum_threshold = 500);
>
> ERROR:  permission denied: "pg_attribute" is a system catalog
> ********** Ошибка **********
>
> ERROR: permission denied: "pg_attribute" is a system catalog
> SQL-состояние: 42501

I think you can only do that as superuser.

-- 
Angular momentum makes the world go 'round.




view thread (4+ messages)  latest in thread

Message-ID: <91729b69-31bf-24e3-6103-255b92f79333@gmail.com>
Permalink:  ../91729b69-31bf-24e3-6103-255b92f79333@gmail.com/
Also on:    postgresql.org/message-id/91729b69-31bf-24e3-6103-255b92f79333@gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: autovacuum on system catalog
  In-Reply-To: <91729b69-31bf-24e3-6103-255b92f79333@gmail.com>

* 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