From: Hiroshi Inoue Date: Mon, 27 Nov 2000 04:03:20 +0000 (+0000) Subject: Not invoke CheckPoint process while postmaster is waiting for all backends X-Git-Tag: REL7_1_BETA~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ee598e0ee7f2aaa2b52ace675a930fd2f465cca;p=postgresql Not invoke CheckPoint process while postmaster is waiting for all backends to die. --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index e68e30fbd5..3b2eb95d4f 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -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);