Not invoke CheckPoint process while postmaster is waiting for all backends
authorHiroshi Inoue
Mon, 27 Nov 2000 04:03:20 +0000 (04:03 +0000)
committerHiroshi Inoue
Mon, 27 Nov 2000 04:03:20 +0000 (04:03 +0000)
to die.

src/backend/postmaster/postmaster.c

index e68e30fbd5c33c06a37ee1d72f226ced7792323e..3b2eb95d4fc2bd881d6d6533cad1474213cae96d 100644 (file)
@@ -11,7 +11,7 @@
  *
  *
  * 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
  *
@@ -823,7 +823,7 @@ ServerLoop(void)
        struct timeval *timeout = NULL;
        struct timeval  timeout_tv;
 
-       if (CheckPointPID == 0 && checkpointed)
+       if (CheckPointPID == 0 && checkpointed && !FatalError)
        {
            time_t  now = time(NULL);