Re: [HACKERS] [PATCH 4/8] add simple xlogdump tool

2012-10-25 Thread Alvaro Herrera
After some fooling around to provide the discussed backend functionality to xlogdump (StringInfo atop PQExpBuffer and elog_start/elog_finish), the following items still need work: 1. rmgr tables We're linking rmgr.c so that we can obtain the appropriate rm_desc function pointer for each rmgr. How

[HACKERS] [PATCH 4/8] add simple xlogdump tool

2012-09-14 Thread Andres Freund
--- src/bin/Makefile| 2 +- src/bin/xlogdump/Makefile | 25 src/bin/xlogdump/xlogdump.c | 334 3 files changed, 360 insertions(+), 1 deletion(-) create mode 100644 src/bin/xlogdump/Makefile create mode 100644 src/bin/xlogdump/xlo