pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Darren Reed <darrenr+postgres@fastmail.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Power outage borked things (8.1.10)...
Date: Wed, 20 Feb 2008 14:44:49 -0500
Message-ID: <15060.1203536689@sss.pgh.pa.us> (raw)
In-Reply-To: <47BC7C24.9040606@fastmail.net>
References: <47BBF298.4010108@fastmail.net>
	<8625.1203523828@sss.pgh.pa.us>
	<47BC7C24.9040606@fastmail.net>

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



view thread (11+ messages)  latest in thread

Message-ID: <15060.1203536689@sss.pgh.pa.us>
Permalink:  ../15060.1203536689@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15060.1203536689@sss.pgh.pa.us

 · 

reply

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, darrenr+postgres@fastmail.net
  Subject: Re: Power outage borked things (8.1.10)...
  In-Reply-To: <15060.1203536689@sss.pgh.pa.us>

* 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