Skip site navigation (1) Skip section navigation (2)

Re: Power outage borked things (8.1.10)...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Darren Reed <darrenr+postgres(at)fastmail(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Power outage borked things (8.1.10)...
Date: 2008-02-20 19:44:49
Message-ID: 15060.1203536689@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Darren Reed <darrenr+postgres(at)fastmail(dot)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

In response to

Responses

pgsql-admin by date

Next:From: Darren ReedDate: 2008-02-20 20:22:45
Subject: Re: Power outage borked things (8.1.10)...
Previous:From: Darren ReedDate: 2008-02-20 19:14:44
Subject: Re: Power outage borked things (8.1.10)...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group