diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-03-26 15:25:39 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-03-26 15:25:39 +0200 |
commit | 28475f8e58bd5da2b44a42203665a543f335c6a3 (patch) | |
tree | 6c23bee18e5285eefa2061f7cdb7f6c61f313281 /contrib/pg_xlogdump/pg_xlogdump.c | |
parent | ce9bb92f8fb8d25cf00ec939797ffdb5930fb792 (diff) | |
download | postgresql-28475f8e58bd5da2b44a42203665a543f335c6a3.tar.gz postgresql-28475f8e58bd5da2b44a42203665a543f335c6a3.zip |
Use pg_usleep() instead of plain sleep(), to fix Windows build
Per buildfarm.
Diffstat (limited to 'contrib/pg_xlogdump/pg_xlogdump.c')
-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; } } |