Re: BUG #5599: Vacuum fails due to index corruption issues - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #5599: Vacuum fails due to index corruption issues
Date
Msg-id 1280978913-sup-5475@alvh.no-ip.org
Whole thread Raw
In response to BUG #5599: Vacuum fails due to index corruption issues  ("Hitesh Bhambhani" <hiteshb@asg.com>)
Responses Re: BUG #5599: Vacuum fails due to index corruption issues  (Hitesh Bhambhani <hitesh.bhambhani@asg.com>)
List pgsql-bugs
Excerpts from Hitesh Bhambhani's message of mié ago 04 17:47:12 -0400 2010:

> Based on some logs in the Webapp I can see that there were some errors in
> truncating relations. Once those errors disappear the index corruption
> errors start. I'm not sure if there is a connection here.

There probably is.  What kind of relation are the ones unable to
truncate?  Please see in pg_class where relfilenode = '41274' in this
case:

> bad SQL grammar []; nested exception is org.postgresql.util.PSQLException:
> ERROR: could not truncate relation 1663/16403/41274 to 30 blocks: Permission
> denied

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #5595: Documentation is not installs from VPATH build.
Next
From: Tom Lane
Date:
Subject: Re: BUG #5595: Documentation is not installs from VPATH build.