Re: Re: [GENERAL] cannot vacuum a database ! - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Re: [GENERAL] cannot vacuum a database !
Date
Msg-id 13725.967588351@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: [GENERAL] cannot vacuum a database !  (Ange Michel POZZO <poange@technologist.com>)
List pgsql-bugs
It sounds to me like your index on pg_proc(prosrc) is corrupted, which
unfortunately is pretty easy to do in 6.5 and before --- there weren't
any defenses against overlength index entries, which meant a large
function definition could break it.

Fortunately that index isn't actually used for much of anything (in fact
we took it out of 7.0).  So you should be able to limp along until you
can schedule a dump/reload, preferably together with an update to 7.0.
Just don't vacuum pg_proc meanwhile.  You can vacuum individual user
tables if you need to, but don't do a system-wide vacuum.

            regards, tom lane

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: initdb -t trashes the entire database system
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Cannot create tabel named 'user'