Re: hash_search and out of memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: hash_search and out of memory
Дата
Msg-id 7923.1350676972@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: hash_search and out of memory  (Hitoshi Harada <umi.tanuki@gmail.com>)
Список pgsql-hackers
Hitoshi Harada <umi.tanuki@gmail.com> writes:
> OK.  Looks better.  But nentries should be bogus a little now?

No, I think it's fine as is.  Essentially this logic says "attempt to
split when the new insertion would make us go over the target fill
factor", whereas the old logic split when the just-completed insertion
reached the target.  There's not a lot of reason to care about the
precise boundary anyway, but to the extent that you believe that the
target is exact, I think this behavior is actually a bit more precise.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Support for Array ELEMENT Foreign Keys
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCH] Support for Array ELEMENT Foreign Keys