Re: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it

From: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it
Date: 2010-01-31 02:00:01
Message-ID: 20100131020001.GA17263@cns.vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sat, Jan 30, 2010 at 10:35:27PM -0300, Alvaro Herrera wrote:
> Ray Stell wrote:
> > Running 8.2.15 on RHEL4 the log reports this from autovacuum along with
> > other pg_ tables:
> >
> > VACUUM WARNING: skipping "pg_database" --- only table or database owner can vacuum it
>
> Huh, that's pretty weird ... autovacuum is supposed to connect as
> superuser internally. Did you do something funny to the system role
> (typically called "postgres")?

agreed. If I did, I don't know what it was. I suppose I'm reduced
to creating a new cluster and restoring the apps into it, unless
somebody can suggest an audit method that would uncover the injury.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2010-01-31 02:18:52 Re: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it
Previous Message Alvaro Herrera 2010-01-31 01:35:27 Re: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it