Skip site navigation (1) Skip section navigation (2)

Re: binary decode

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Francisco <fxd(at)295(dot)ca>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: binary decode
Date: 2007-12-22 14:13:20
Message-ID: 20071222141320.GA21128@svana.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On Sat, Dec 22, 2007 at 02:07:28AM -0500, Francisco wrote:
> I'm working on a decoder to take a raw main/base file and given table format
> parameters to pull out relevant data.
> 
> My question is whether anyone has developed such a tool. Something that
> takes the raw file and table format as input and creates an ascii dump
> (similar to pgdump).

Yes, I wrote a program called pgfsck years ago which did this. Not for
all data types, but most of the common ones. I'm in the process up
upgrading it work with the latest versions.

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2007-12-22 14:25:05
Subject: Spoofing as the postmaster
Previous:From: Gregory StarkDate: 2007-12-22 13:15:26
Subject: Re: Sorting Improvements for 8.4

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group