Re: Interesting misbehavior of repalloc()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Interesting misbehavior of repalloc()
Дата
Msg-id 9845.1186871151@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Interesting misbehavior of repalloc()  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Interesting misbehavior of repalloc()
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> We could also only do the realloc-in-place only if there isn't a 4k chunk in
> the 4k freelist. I'm imagining that usually there wouldn't be.

Or in general, if there's a free chunk of the right size then copy to
it, else consider realloc-in-place.  Counterintuitive but it might work.
I'm not sure how often there wouldn't be a free chunk though ...
        regards, tom lane


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

Предыдущее
От: "April Lorenzen"
Дата:
Сообщение: proper way to fix information_schema.key_column_usage view
Следующее
От: Bertram Scharpf
Дата:
Сообщение: Re: Wrote a connect-by feature