Re: (Updated) Table File Format - Mailing list pgsql-hackers

From Tom Lane
Subject Re: (Updated) Table File Format
Date
Msg-id 19244.976772683@sss.pgh.pa.us
Whole thread Raw
In response to (Updated) Table File Format  ("Michael Richards" <miker@interchange.ca>)
List pgsql-hackers
"Michael Richards" <miker@interchange.ca> 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 transactionid that, if comitted gives this tuple
> visibility???

No, offset and length --- there is also a 2-bit flags field.  Look at
the page and item declarations in src/include/storage/

Someone else was recently working on a bit-level dump tool, but I've
forgotten who.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: pg_options.sample
Next
From: Tatsuo Ishii
Date:
Subject: vacuum crash on 6.5.3