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

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgsql: Make bgwriter sleep longer when it has no work to do, to save el
Дата
Msg-id CAEYLb_UxpZzdzeW6KXRket=svZ893Nxhnqk+DJh7X8W04hKXrg@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Make bgwriter sleep longer when it has no work to do, to save el  (Heikki Linnakangas <heikki.linnakangas@iki.fi>)
Ответы Re: pgsql: Make bgwriter sleep longer when it has no work to do, to save el  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-committers
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?

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix copy-paste error in docs.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: pg_dump: Move connection-setup code to a separate function.