Re: [PATCH] introduce XLogLockBlockRangeForCleanup()

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [PATCH] introduce XLogLockBlockRangeForCleanup()
Дата
Msg-id 53F45750.70409@vmware.com
обсуждение исходный текст
Ответ на Re: [PATCH] introduce XLogLockBlockRangeForCleanup()  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Ответы Re: [PATCH] introduce XLogLockBlockRangeForCleanup()
Список pgsql-hackers
On 07/07/2014 11:46 AM, Abhijit Menon-Sen wrote:
> At 2014-07-07 14:02:15 +0530, amit.khandekar@enterprisedb.com wrote:
>>
>> Other than some minor comments as mentioned below, I don't have any
>> more issues, it looks all good.
>
> Thank you. (Updated patch attached.)

I don't think the new GetBufferWithoutRelcache function is in line with 
the existing ReadBuffer API. I think it would be better to add a new 
ReadBufferMode - RBM_CACHE_ONLY? - that only returns the buffer if it's 
already in cache, and InvalidBuffer otherwise.

- Heikki




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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: August commitfest
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: August commitfest