hacking data directories - Mailing list pgsql-hackers

From elein
Subject hacking data directories
Date
Msg-id 20040329155522.E2655@cookie.varlena.com
Whole thread Raw
Responses Re: hacking data directories  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
RedHat with PG 7.3.2

I'm recovering a harddrive failure where all 
of the database files were thrown into one
directory.  I'm trying to sort out which ones
go with what. (Stop laughing.)

I've identified template1 and template0 files,
but I don't need to recover those...

The rest of the files seem to be database
data files and it is possible the the zero length
files were directories, but I'm not sure.

Does anyone have any tools or hints?  I can
determine a lot by just looking at them, but
hints would help.
If necessary, I could write a little C program
to extract the headers if that is what is 
necessary.

All advice is greatly appreciated.

Thanks,

elein
elein@varlena.com




pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Win32 compatibility now broken for Microsoft and Intel Windows compilers even for Libpq in current snapshot
Next
From: Alvaro Herrera
Date:
Subject: Re: hacking data directories