Re: pgsql: Make bgwriter sleep longer when it has no work to do, to save el

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pgsql: Make bgwriter sleep longer when it has no work to do, to save el
Дата
Msg-id 4F22D03E.3080301@enterprisedb.com
обсуждение исходный текст
Ответ на Re: pgsql: Make bgwriter sleep longer when it has no work to do, to save el  (Peter Geoghegan <peter@2ndquadrant.com>)
Список pgsql-committers
On 27.01.2012 16:43, Peter Geoghegan wrote:
> On 26 January 2012 16:43, Heikki Linnakangas<heikki.linnakangas@iki.fi>  wrote:
>> Make bgwriter sleep longer when it has no work to do, to save electricity.
>
> Perhaps this is pedantic, but shouldn't we be initialising
> bgwriterLatch to NULL within InitProcGlobal(), much as we already do
> for the other pointers in that structure?

Yeah, it should. Fixed.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Initialize the new bgwriterLatch field properly.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Document that analyzing an empty table doesn't update the statis