Couple of issues with pg_xlogdump - Mailing list pgsql-hackers
From | Pavan Deolasee |
---|---|
Subject | Couple of issues with pg_xlogdump |
Date | |
Msg-id | CABOikdN3mKj7607JOExOknmNXE8h80mwf=8XdwFRdrKmD8BH2w@mail.gmail.com Whole thread Raw |
Responses |
Re: Couple of issues with pg_xlogdump
|
List | pgsql-hackers |
make: *** No rule to make target `/home/pavan.deolasee/work/pgsql/postgresql/install/lib/pgxs/src/makefiles/../../src/backend/access/transam/xlogreader.c', needed by `xlogreader.c'. Stop.
[pavan.deolasee@puppetserver pg_xlogdump]$ ls ~/db93head/pg_xlog/
000000010000000000000004 000000010000000000000005 000000010000000000000006 000000010000000000000007 000000010000000000000008 archive_status
[pavan.deolasee@puppetserver pg_xlogdump]$ ./pg_xlogdump ~/db93head/pg_xlog/000000010000000000000005
pg_xlogdump: FATAL: could not find a valid record after 0/5000000
[pavan.deolasee@puppetserver pg_xlogdump]$ ./pg_xlogdump ~/db93head/pg_xlog/000000010000000000000006
pg_xlogdump: FATAL: could not find a valid record after 0/6000000
[pavan.deolasee@puppetserver pg_xlogdump]$ ./pg_xlogdump ~/db93head/pg_xlog/000000010000000000000007
pg_xlogdump: FATAL: could not find a valid record after 0/7000000
[pavan.deolasee@puppetserver pg_xlogdump]$ ./pg_xlogdump ~/db93head/pg_xlog/000000010000000000000008
pg_xlogdump: FATAL: could not find a valid record after 0/8000000
The first file prints ok with this at the end:
[pavan.deolasee@puppetserver pg_xlogdump]$ ./pg_xlogdump ~/db93head/pg_xlog/000000010000000000000004 | tail -n 2
pg_xlogdump: FATAL: error in WAL record at 0/4C7F208: record with zero length at 0/4C7F270
rmgr: XLOG len (rec/tot): 72/ 104, tx: 0, lsn: 0/04C7F1A0, prev 0/04C7F170, bkp: 0000, desc: checkpoint: redo 0/4400D70; tli 1; prev tli 1; fpw true; xid 0/1807; oid 24576; multi 1; offset 0; oldest xid 1795 in DB 1; oldest multi 1 in DB 1; oldest running xid 0; online
rmgr: XLOG len (rec/tot): 72/ 104, tx: 0, lsn: 0/04C7F208, prev 0/04C7F1A0, bkp: 0000, desc: checkpoint: redo 0/4C7F208; tli 1; prev tli 1; fpw true; xid 0/1807; oid 16387; multi 1; offset 0; oldest xid 1795 in DB 1; oldest multi 1 in DB 1; oldest running xid 0; shutdown
Usage:
pg_xlogdump [OPTION] [STARTSEG [ENDSEG]]
pgsql-hackers by date: