Re: PageGetFreeSpace() isn't quite the right thing for some of its callers

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: PageGetFreeSpace() isn't quite the right thing for some of its callers
Дата
Msg-id CAH2-Wz=o9+LgBOLVVfYaeXND4DCxuuwSDXJJ0Ejzu4NK7G0rgg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PageGetFreeSpace() isn't quite the right thing for some of itscallers  (Andres Freund <andres@anarazel.de>)
Ответы Re: PageGetFreeSpace() isn't quite the right thing for some of its callers  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, Apr 8, 2019 at 2:10 PM Andres Freund <andres@anarazel.de> wrote:
> I'm not sure I understand what the problem is. We got to get the
> information for the fsm from somewhere? Are you arguing we should
> instead have it included as an explicit xlog record payload?

No. I am simply pointing out that PageGetFreeSpace() "should usually
only be used on index pages" according to its own comments. And yet
it's called for other stuff.

Maybe it's not that important in that one instance, but I find it
pretty distracting that PageGetFreeSpace() is intended for index AMs
that use conventional line pointers.

-- 
Peter Geoghegan



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: PageGetFreeSpace() isn't quite the right thing for some of itscallers
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: change password_encryption default to scram-sha-256?