diff options
| author | Heikki Linnakangas | 2014-03-26 13:25:39 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2014-03-26 13:25:39 +0000 |
| commit | 28475f8e58bd5da2b44a42203665a543f335c6a3 (patch) | |
| tree | 6c23bee18e5285eefa2061f7cdb7f6c61f313281 | |
| parent | ce9bb92f8fb8d25cf00ec939797ffdb5930fb792 (diff) | |
Use pg_usleep() instead of plain sleep(), to fix Windows build
Per buildfarm.
| -rw-r--r-- | contrib/pg_xlogdump/pg_xlogdump.c | 2 |
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; } } |
