Thread: How to Make a pg_filedump

How to Make a pg_filedump

From
aaronenabs
Date:
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

Thanks

--
View this message in context: http://postgresql.1045698.n5.nabble.com/How-to-Make-a-pg-filedump-tp4264125p4264125.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.


Re: How to Make a pg_filedump

From
Alvaro Herrera
Date:
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