Hi,
Coded up a utility, pg_filedump, to dump out PostgreSQL
heap/index/control files in a human-readable form (hex,
ascii, interpreted).
The attached tarball contains the source, makefile and
readme. I've found the utility quite handy when you
have to go digging in the raw blocks for information.
pg_filedump has been tested on:
1. Red Hat Linux 7.2 / 7.1
2. SunOS 5.7 Generic_106541-17
3. FreeBSD 4.2-RELEASE #0
4. CYGWIN_NT-4.0 1.2.0(0.26/3/2)
Cheers,
Patrick
-----------------
Patrick Macdonald
Red Hat Database