From: Alvaro Herrera <alvherre@commandprompt.com>
To: Hitesh Bhambhani <hiteshb@asg.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5599: Vacuum fails due to index corruption issues
Date: Wed, 04 Aug 2010 23:29:31 -0400
Message-ID: <1280978913-sup-5475@alvh.no-ip.org> (raw)
In-Reply-To: <201008042147.o74LlCge057659@wwwmaster.postgresql.org>
References: <201008042147.o74LlCge057659@wwwmaster.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@commandprompt.com, hiteshb@asg.com
Subject: Re: BUG #5599: Vacuum fails due to index corruption issues
In-Reply-To: <1280978913-sup-5475@alvh.no-ip.org>
References: <201008042147.o74LlCge057659@wwwmaster.postgresql.org> <1280978913-sup-5475@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox