Re: MaxOffsetNumber versus MaxHeapTuplesPerPage

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: MaxOffsetNumber versus MaxHeapTuplesPerPage
Дата
Msg-id 47206D12.6080600@enterprisedb.com
обсуждение исходный текст
Ответ на MaxOffsetNumber versus MaxHeapTuplesPerPage  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: MaxOffsetNumber versus MaxHeapTuplesPerPage
Re: MaxOffsetNumber versus MaxHeapTuplesPerPage
Список pgsql-hackers
Zdenek Kotala wrote:
> Is there any reason to have both these macros? By my opinion
> MaxHeapTuplesPerPage is more accurate and it should replace all
> MaxOffsetNumber occurrence.

We use MaxOffsetNumber with index pages as well.

At quick glance, the only places I can see where we could replace
MaxOffsetNumber with MaxHeapTuplesPerPage, are in vacuum.c and
vacuumlazy.c, where we allocate arrays big enough to hold potentially a
full page's worth of tuples. We could change those, but it's hardly
worth the trouble.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: PostGreSQL and zlib
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: order by in cursor declaration does not allow update