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

From Scott Marlowe
Subject Re: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it
Date
Msg-id dcc563d11001300928s1ab6c725yd678a1937092a250@mail.gmail.com
Whole thread Raw
In response to VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it  (Ray Stell <stellr@cns.vt.edu>)
Responses Re: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it  (Ray Stell <stellr@cns.vt.edu>)
List pgsql-admin
On Sat, Jan 30, 2010 at 7:59 AM, Ray Stell <stellr@cns.vt.edu> 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
>
> Any ideas how I can clean this up or how I got into this hole?
> Vacuum works as superuser.

Make yourself the owner of the database? (i.e. alter database ...)

pgsql-admin by date:

Previous
From: Ray Stell
Date:
Subject: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it
Next
From: Ray Stell
Date:
Subject: Re: VACUUM WARNING: skipping "pg_statistic" --- only table or database owner can vacuum it