Re: [HACKERS] (Updated) Table File Format

2000-12-15 Thread Hannu Krosing
Michael Richards wrote: > > Okay, > > Where would I find a definition of the tuple data? I didn't see anything > promising in include/storage? > > I've found a definition for the page inside pagebuf.h That clears up all the > page stuff. I'm still having a little trouble decoding the tuple data

Re: [HACKERS] (Updated) Table File Format

2000-12-14 Thread Michael Richards
where it will create tuple objects for every block of "tuple" data within the page. thanks -Michael - Original Message - From: "Tom Lane" <[EMAIL PROTECTED]> To: "Michael Richards" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, De

Re: [HACKERS] (Updated) Table File Format

2000-12-14 Thread Hannu Krosing
Michael Richards wrote: > > I need a little help on the format of the postgres tables. > > I've got this wonderfully corrupted database where just about everything is > fubar. I've tried a number of things to get it back using postgres and > related tools with no success. It looks like most

Re: [HACKERS] (Updated) Table File Format

2000-12-13 Thread Tom Lane
"Michael Richards" <[EMAIL PROTECTED]> writes: > Following that I find the 2 word tuple pointers. > The first word appears to be the offset in the page where the tuple can be > found but the MSB has to be stripped off (haven't found it's function in the > source yet). > The second is the transact

[HACKERS] (Updated) Table File Format

2000-12-13 Thread Michael Richards
I need a little help on the format of the postgres tables. I've got this wonderfully corrupted database where just about everything is fubar. I've tried a number of things to get it back using postgres and related tools with no success. It looks like most of the data is there, but there may