Commit 9ee598e0 authored by Hiroshi Inoue's avatar Hiroshi Inoue

Not invoke CheckPoint process while postmaster is waiting for all backends

to die.
parent c6f0bff1
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.192 2000/11/25 20:33:52 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.193 2000/11/27 04:03:20 inoue Exp $
* *
* NOTES * NOTES
* *
...@@ -823,7 +823,7 @@ ServerLoop(void) ...@@ -823,7 +823,7 @@ ServerLoop(void)
struct timeval *timeout = NULL; struct timeval *timeout = NULL;
struct timeval timeout_tv; struct timeval timeout_tv;
if (CheckPointPID == 0 && checkpointed) if (CheckPointPID == 0 && checkpointed && !FatalError)
{ {
time_t now = time(NULL); time_t now = time(NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment