diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c index e947696429..3fb9099649 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; } }