aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pg_xlogdump/pg_xlogdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c
index e947696429d..3fb9099649d 100644
--- a/contrib/pg_xlogdump/pg_xlogdump.c
+++ b/contrib/pg_xlogdump/pg_xlogdump.c
@@ -705,7 +705,7 @@ main(int argc, char **argv)
break;
else
{
- sleep(1);
+ pg_usleep(1000000L); /* 1 second */
continue;
}
}