diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-23 01:40:19 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-23 01:40:19 +0000 |
commit | 6f6a6d8b140393c974ec5ae65c6c605e70d08034 (patch) | |
tree | a64923da56e6eb8e98bb49985f98edd43e00e4b3 /src/backend/commands/cluster.c | |
parent | 8309d006cbd2cca15a5f1be69644b91f2da5eb9e (diff) | |
download | postgresql-6f6a6d8b140393c974ec5ae65c6c605e70d08034.tar.gz postgresql-6f6a6d8b140393c974ec5ae65c6c605e70d08034.zip |
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.
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions