Re: could not access status of transaction 4244329

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: "ruben20(at)superguai(dot)com" <ruben20(at)superguai(dot)com>
Subject: Re: could not access status of transaction 4244329
Date: 2004-10-13 14:48:46
Message-ID: 416D404E.9050705@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ruben20(at)superguai(dot)com wrote:
> Hi:
>
> I've migrated a couple of weeks ago from 7.4.2 to 7.4.5 and I am getting
> this error after executing a query:
>
> Warning: pg_exec() query failed: ERROR: could not access status of
> transaction 4244329 in /home/wisconsin/www/_proc/bbdd/_c_bbdd.php on
> line 160
> ERROR ACCESO BASE DE DATOSERROR: could not access status of
> transaction 4244329
>

[SNIP]

>
> I tried reindexing:
>
> DROP INDEX movimientos_c_c_i01;
> CREATE INDEX movimientos_c_c_i01 ON movimientos_c_c (cod_empresa,
> cod_per_emp, cod_movimiento, fecha_movimiento);
>
> ERROR: could not access status of transaction 4244329
> DETAIL: could not open file "/usr/local/pgsql/data/pg_clog/0004": No
> existe el fichero o el directorio
>

create a empty file:

# touch /usr/local/pgsql/data/pg_clog/0004

at this point postgres will complain about the fact that an offset is missing,

at this point fill with 0 your file ( blocks of 8K ) till reach that offset reclaimed.

Regards
Gaetano Mendola

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gaetano Mendola 2004-10-13 14:52:17 Re: psql : how to make it more silent....
Previous Message ken 2004-10-13 14:37:43 Re: query problem