Excerpts from aaronenabs's message of vie mar 25 10:43:49 -0300 2011:
> Hi All
>
> I am trying to write a pg_filedump to read dead rows in pgsql, I am
> relatively new to postgresql and have been trying to find out how to write
> and compile a pg_filedump to help display dead rows. Please can anyone help
> me
>
> i) Explain how i can write a pg_filedump to display dead rows or how to
> write pg_filedump
> ii) Explain how to compile a pg_filedump
Are you aware that pg_filedump already exists? The source code lives at
http://pgfoundry.org/projects/pgfiledump (for 9.0) and
http://sources.redhat.com/rhdb (for older releases)
Moreover, pg_filedump will display all rows, dead or otherwise.
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support