Re: bgwriter idle-mode behavior (was Re: Latch for the WAL writer)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Peter Geoghegan <peter@2ndquadrant.com>,
Greg Smith <greg@2ndquadrant.com>, pgsql-hackers@postgreSQL.org
Date: 2012-05-10T06:38:06Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Make bgwriter sleep longer when it has no work to do, to save electricity.
- 6d90eaaa89a0 9.2.0 cited
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes: > On 10.05.2012 00:34, Tom Lane wrote: >> After further study of the bgwriter hibernation patch (commit >> 6d90eaaa89a007e0d365f49d6436f35d2392cfeb), I think that my worries about >> race conditions in the use of the bgwriter's latch are really the least >> of its problems. > Seems reasonable. Would you like me to write a patch, or are you already > on it? Done already, but please review the commit. regards, tom lane