]> granicus.if.org Git - postgresql/commit
Teach RequestCheckpoint() to wait and retry a few times if it can't signal
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Nov 2008 01:40:19 +0000 (01:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Nov 2008 01:40:19 +0000 (01:40 +0000)
commit6f6a6d8b140393c974ec5ae65c6c605e70d08034
treea64923da56e6eb8e98bb49985f98edd43e00e4b3
parent8309d006cbd2cca15a5f1be69644b91f2da5eb9e
Teach RequestCheckpoint() to wait and retry a few times if it can't signal
the bgwriter immediately.  This covers the case where the bgwriter is still
starting up, as seen in a recent buildfarm failure.  In future it might also
assist with clean recovery after a bgwriter termination and restart ---
right now the postmaster treats early bgwriter exit as a system crash,
but that might not always be so.
src/backend/postmaster/bgwriter.c