Pavan Deolasee wrote:
> /*
> * Size of the bitmap on each visibility map page, in bytes. There's no
> * extra headers, so the whole page minus except for the standard page
> header
> * is used for the bitmap.
> */
> #define MAPSIZE (BLCKSZ - SizeOfPageHeaderData)
>
>
> ISTM that we should MAXALIGN the SizeOfPageHeaderData to compute MAPSIZE.
> PageGetContents() works that way and I believe that's the right thing to do.
Yep, you're right. Thanks, fixed.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com