projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050a007
)
Whoops, missed converting the other sleep() call to pg_usleep().
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 18 Nov 2004 17:13:38 +0000
(17:13 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 18 Nov 2004 17:13:38 +0000
(17:13 +0000)
src/backend/postmaster/pgarch.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/pgarch.c
b/src/backend/postmaster/pgarch.c
index 6f52b6e7ab21f203b4024e893ef59915a6a69615..317b47304ac6237f62a51fee2c285861cc198bed 100644
(file)
--- 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.1
1 2004/11/17 17:50:20
tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.1
2 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 */
}
}
}