Re: recover as much as possible (xlog flush request not satisfied) - Mailing list pgsql-general

From Tom Lane
Subject Re: recover as much as possible (xlog flush request not satisfied)
Date
Msg-id 21295.1341842825@sss.pgh.pa.us
Whole thread Raw
In response to Re: recover as much as possible (xlog flush request not satisfied)  (Wim Goedertier <Wim_Goedertier@symantec.com>)
List pgsql-general
Wim Goedertier <Wim_Goedertier@symantec.com> writes:
> After studying http://www.postgresql.org/docs/8.2/static/app-pgresetxlog.html
> I ran:
> su <db-user> -c 'pg_resetxlog -f -x 0x9A00000 -m 0x10000 -O 0x10000 -l 0x1,0xB67,0x58 <PGDATA-directory>'
> and yes, it worked perfectly!
> After that I could pg_dump, drop database, create database and import the dump.
> Now, I'm verifying the consistency on the level of my application.

Great!  But a word of warning: personally, I'd have re-initdb'd the
whole installation.  When you have a problem like this, there's no good
reason to assume that only the active database is broken.

            regards, tom lane

pgsql-general by date:

Previous
From: Wim Goedertier
Date:
Subject: Re: recover as much as possible (xlog flush request not satisfied)
Next
From: Steven Schlansker
Date:
Subject: Re: Suboptimal query plan fixed by replacing OR with UNION