Re: bufmgr code cleanup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bufmgr code cleanup
Дата
Msg-id 14227.1067871625@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bufmgr code cleanup  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: bufmgr code cleanup  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Jan Wieck <JanWieck@Yahoo.com> writes:
> Neil Conway wrote:
>> This patch cleans up some of the bufmgr code:

> Can this be held off a little while we're experimenting with
> improvements to the buffer algorithms?

I do not actually agree with the "UnlockAndReleaseBuffer" changes
anyway.  I think this obscures the code by making resource grabbing
and resource releasing code unsymmetrical, not to mention incompatible
with code branches where the unlock and the buffer release can't be
merged because other things are done in between.

As for removing the BM_TRACE code, what's broken about it?  Shouldn't we
be more interested in fixing it than removing it?

            regards, tom lane

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: equal() perf tweak
Следующее
От: Tom Lane
Дата:
Сообщение: Re: equal() perf tweak