On 26 January 2012 16:43, Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)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