On 27.01.2012 16:43, Peter Geoghegan wrote:
> 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?
Yeah, it should. Fixed.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com