Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f6e27 commit 9eb0d6aCopy full SHA for 9eb0d6a
src/backend/postmaster/pgarch.c
@@ -19,7 +19,7 @@
19
*
20
21
* IDENTIFICATION
22
- * $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.20 2006/03/05 15:58:35 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.21 2006/05/30 13:30:49 momjian Exp $
23
24
*-------------------------------------------------------------------------
25
*/
@@ -352,7 +352,7 @@ pgarch_ArchiverCopyLoop(void)
352
* some backend will add files onto the list of those that need archiving
353
* while we are still copying earlier archives
354
355
- while (pgarch_readyXlog(xlog))
+ while (PostmasterIsAlive(true) && pgarch_readyXlog(xlog))
356
{
357
int failures = 0;
358
0 commit comments