Re: visibility maps

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: visibility maps
Дата
Msg-id 493AB715.505@enterprisedb.com
обсуждение исходный текст
Ответ на Re: visibility maps  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: visibility maps
Следующее
От: Martin Pihlak
Дата:
Сообщение: Re: SQL/MED compatible connection manager