From: Alvaro Herrera <alvherre@commandprompt.com>
To: Daniel Caune <daniel.caune@ubisoft.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: "could not open file" issue
Date: Mon, 24 Apr 2006 16:35:52 -0400
Message-ID: <20060424203552.GC18690@surnet.cl> (raw)
In-Reply-To: <1E293D3FF63A3740B10AD5AAD88535D202132843@UBIMAIL1.ubisoft.org>
References: <1E293D3FF63A3740B10AD5AAD88535D202132843@UBIMAIL1.ubisoft.org>
Daniel Caune wrote:
>
> > DeĀ : Alvaro Herrera [mailto:alvherre@commandprompt.com]
> >
> > Daniel Caune wrote:
> > >
> > > select count(*) from eventplayerleaveroom;
> > > ERROR: could not access status of transaction 3164404766
> > > DETAIL: could not open file "pg_clog/0BC9": No such file or directory
> >
> > Are the files in pg_clog close to the vicinity of 0BC9?
>
> I don't have any skill in PostgreSQL administration. However I took a
> look at /var/lib/postgresql/8.1/main/pg_clog and there is no file
> close to the vicinity of 0BC9 ; the last file in that directory is:
>
> -rw------- 1 postgres postgres 221184 2006-04-24 19:27 00C9
>
> A bit far from 0BC9... Do you have any diagnostic?
I'd say you have a corrupted table. How corrupted I don't know. You
could try extracting a portion of the table, playing with LIMIT/OFFSET
to find out the exact records that are corrupted.
--
Alvaro Herrera http://www.CommandPrompt.com/
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: alvherre@commandprompt.com, daniel.caune@ubisoft.com
Subject: Re: "could not open file" issue
In-Reply-To: <20060424203552.GC18690@surnet.cl>
* 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