Full set of patches, including both earlier reported bugs fixed.
This note was originally posted at Tue, 27 Apr 2004 23:30:39 +0100, but
for some reason hasn't yet appeared on the [HACKERS] list, so I am now
reposting this. Trying PATCHES list now...
Full usage instructions (for TESTING only!)
guc.c.patch goes to src/backend/utils/misc/guc.c
xlog.c.patch goes to src/backend/access/transam/xlog.c
xlog.h.patch goes to src/include/access/xlog.h
Makefile.patch goes to src/bin/Makefile
pgarch.tar adds directory and files for src/bin/pg_arch
pg_arch builds as part of the full source tree...
1. create pg_rlog directory beneath PGDATA
2. add (optional) line to postgresql.conf
3. add (required) line to postgresql.conf
4. execute pg_arch /your-archive-dir $PGDATA
5. startup new postmaster
6. execute workload of choice to force the creation of xlogs
7. watch the execution...
1. Work out ways of testing the logical validity of data
2. While postmaster is UP: take a full physical backup of PGDATA
3. wait for some time while transaction archives get posted
4. perform your choice of destructive action on postgresql
5. mv backup copy to a restore location, possibly where it just was
6. mv ALL transaction logs taken SINCE full backup
7. startup postmaster and watch
8. execute tests from 1, to ensure recovery successful
...my patch building experience is less than some might
expect so there are various possible annoyances here. I am on hand to
help and to learn by my mistakes.
Report bugs to me at simon(at)2ndquadrant(dot)com and/or to the [HACKERS] list
Description: application/x-tar (20.0 KB)
Description: text/x-patch (593 bytes)
Description: text/x-patch (10.1 KB)
Description: text/x-patch (647 bytes)
pgsql-patches by date
|Next:||From: Simon Riggs||Date: 2004-04-29 22:38:52|
|Subject: Re: subtransactions -- storage manager|
|Previous:||From: Thomas Hallgren||Date: 2004-04-29 22:18:10|
|Subject: Re: Patch for GUC custom variables|