Re: Power outage borked things (8.1.10)... - Mailing list pgsql-admin

From Tom Lane
Subject Re: Power outage borked things (8.1.10)...
Date
Msg-id 15060.1203536689@sss.pgh.pa.us
Whole thread Raw
In response to Re: Power outage borked things (8.1.10)...  (Darren Reed <darrenr+postgres@fastmail.net>)
Responses Re: Power outage borked things (8.1.10)...
List pgsql-admin
Darren Reed <darrenr+postgres@fastmail.net> writes:
> # su postgres -c "/usr/pkg/bin/pg_resetxlog -f /data/db"
> Transaction log reset

> PANIC:  could not access status of transaction 4570963
> DETAIL:  could not read from file "pg_clog/0004" at offset 90112:
> Undefined error: 0

You may need to append a few pages of zeroes to pg_clog/0004 ...

            regards, tom lane

pgsql-admin by date:

Previous
From: Darren Reed
Date:
Subject: Re: Power outage borked things (8.1.10)...
Next
From: Darren Reed
Date:
Subject: Re: Power outage borked things (8.1.10)...