aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-11-18 17:13:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-11-18 17:13:38 +0000
commitda1c19aa578d7a6ef6a5586f5a9c927eb5b11bdc (patch)
tree002b3c10f2afdb21c85be11966a269500dcac87c
parent050a0074c28379006bd746cfd36d6099785a7f3c (diff)
downloadpostgresql-da1c19aa578d7a6ef6a5586f5a9c927eb5b11bdc.tar.gz
postgresql-da1c19aa578d7a6ef6a5586f5a9c927eb5b11bdc.zip
Whoops, missed converting the other sleep() call to pg_usleep().
-rw-r--r--src/backend/postmaster/pgarch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/pgarch.c b/src/backend/postmaster/pgarch.c
index 6f52b6e7ab2..317b47304ac 100644
--- a/src/backend/postmaster/pgarch.c
+++ b/src/backend/postmaster/pgarch.c
@@ -19,7 +19,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.11 2004/11/17 17:50:20 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.12 2004/11/18 17:13:38 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -392,7 +392,7 @@ pgarch_ArchiverCopyLoop(void)
xlog)));
return; /* give up archiving for now */
}
- sleep(1); /* wait a bit before retrying */
+ pg_usleep(1000000L); /* wait a bit before retrying */
}
}
}