From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mohan, Ross <RMohan@arbinet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: question about wal and point in time recovery
Date: Wed, 13 Apr 2005 10:26:09 -0400
Message-ID: <7043.1113402369@sss.pgh.pa.us> (raw)
In-Reply-To: <CC74E7E10A8A054798B6611BD1FEF4D307966B32@vamail01.thexchange.com>
References: <CC74E7E10A8A054798B6611BD1FEF4D307966B32@vamail01.thexchange.com>
"Mohan, Ross" <RMohan@arbinet.com> writes:
> In any case, do you have a pointer to this R&R WAL tool?
I haven't posted it anywhere, but here is the 8.0 version. You'd build
it something like this:
PGSQL=(location of PG source tree)
CC=gcc
CFLAGS=-Wall -O -I $(PGSQL)/src/include
xlogdump: xlogdump.c
$(CC) $(CFLAGS) -o xlogdump xlogdump.c $(PGSQL)/src/backend/utils/hash/pg_crc.c
It needs improvement to understand more WAL record types, but what it
does has been sufficient for my debugging needs to date. Ideally
someone would clean it up and make it into a contrib module so it could
get into the source tree and be maintained properly ...
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, RMohan@arbinet.com
Subject: Re: question about wal and point in time recovery
In-Reply-To: <7043.1113402369@sss.pgh.pa.us>
References: <CC74E7E10A8A054798B6611BD1FEF4D307966B32@vamail01.thexchange.com> <7043.1113402369@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