Re: Page type - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Page type
Date
Msg-id 2033.1029810793@sss.pgh.pa.us
Whole thread Raw
In response to Re: Page type  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I didn't follow the index part completely, but will heap and index pages
> have the version info in the same offset?

Sure, low byte of pd_pagesize.

> Will there be a way to easily identify an index page vs. a heap page.

There already is: heap pages have zero special-space size, indexes
don't.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in
Next
From: Tom Lane
Date:
Subject: Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in