On 10 May 2012 05:55, Tom Lane t...@sss.pgh.pa.us wrote:
In checkpointer and walwriter, avoid calling PostmasterIsAlive unless
WaitLatch has reported WL_POSTMASTER_DEATH. This saves a kernel call per
iteration of the process's outer loop, which is not all that much, but a
cycle shaved is a
Peter Geoghegan pe...@2ndquadrant.com writes:
On 10 May 2012 05:55, Tom Lane t...@sss.pgh.pa.us wrote:
I had already removed the unconditional
PostmasterIsAlive calls in bgwriter and pgstat in previous patches, but
forgot that WL_POSTMASTER_DEATH is supposed to be treated as untrustworthy