Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9eb0d6a

Browse files
committed
Prevent multiple archivers from starting. Backpatch to 8.1.X.
Simon Riggs
1 parent85f6e27 commit9eb0d6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/postmaster/pgarch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
*
2121
* IDENTIFICATION
22-
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.20 2006/03/05 15:58:35 momjian Exp $
22+
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.21 2006/05/30 13:30:49 momjian Exp $
2323
*
2424
*-------------------------------------------------------------------------
2525
*/
@@ -352,7 +352,7 @@ pgarch_ArchiverCopyLoop(void)
352352
* some backend will add files onto the list of those that need archiving
353353
* while we are still copying earlier archives
354354
*/
355-
while (pgarch_readyXlog(xlog))
355+
while (PostmasterIsAlive(true)&&pgarch_readyXlog(xlog))
356356
{
357357
intfailures=0;
358358

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp