Re: Replaying archived wal files after a dump restore? - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: Replaying archived wal files after a dump restore?
Date
Msg-id 20051025203344.GB7836@surnet.cl
Whole thread Raw
In response to Re: Replaying archived wal files after a dump restore?  (Jeff Frost <jeff@frostconsultingllc.com>)
List pgsql-admin
Jeff Frost wrote:

> Unfortunately, diffing the 8.0.4 docs against the 8.1 docs shows almost no
> useful differences.  I was mostly hoping someone with knowledge of the WAL
> internal format could tell me how to extract the transactions from some and
> manually replay them in the db via psql with lots of copy/paste action.

Oh, so the data in the log must be very valuable to you.  I guess you
could extract the data if you processed the WAL logs.  A tool to do this
doesn't exist as far as I know, but you could write your own.  There was
a crude hack by Tom Lane, which you can find on the archives:

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Mohan, Ross" <RMohan@arbinet.com>
Cc: pgsql-admin@postgresql.org
Date: Wed, 13 Apr 2005 10:26:09 -0400
Subject: Re: [ADMIN] question about wal and point in time recovery

It would be nice to expand on this tool.

--
Alvaro Herrera                                http://www.PlanetPostgreSQL.org
"Coge la flor que hoy nace alegre, ufana. ¿Quién sabe si nacera otra mañana?"

pgsql-admin by date:

Previous
From: Kishore B
Date:
Subject: Why different execution times for different instances for the same query?
Next
From: Alvaro Herrera
Date:
Subject: Re: files to ignore during pitr base backup