Skip site navigation (1) Skip section navigation (2)

superuser unable to modify settings of a system table

From: Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>
To: PGSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: superuser unable to modify settings of a system table
Date: 2010-06-03 16:43:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
On PG 8.4.4 I am unable to set per-table autovacuum setting for the
pg_listener table. Being a superuser, I'd expect Postgres to allow me to do

postgres=# select version();

 PostgreSQL 8.4.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.3.2
20081105 (Red Hat 4.3.2-7), 32-bit
(1 row)

postgres=# select user;
(1 row)

postgres=# alter table pg_listener set (autovacuum_vacuum_threshold=100);
ERROR:  permission denied: "pg_listener" is a system catalog
postgres=# select * from pg_user;
 usename  | usesysid | usecreatedb | usesuper | usecatupd |  passwd  |
valuntil | useconfig
 postgres |       10 | t           | t        | t         | ********
|          |
(1 row)

PS: RhodiumToad prompted me to post here.
@ EnterpriseDB - The Enterprise Postgres Company

singh(dot)gurjeet(at){ gmail | yahoo }.com
Twitter/Skype: singh_gurjeet

Mail sent from my BlackLaptop device


pgsql-bugs by date

Next:From: Tom LaneDate: 2010-06-03 17:02:23
Subject: Re: superuser unable to modify settings of a system table
Previous:From: Hartmut GoebelDate: 2010-06-03 16:04:16
Subject: Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group