Use pg_usleep() instead of plain sleep(), to fix Windows build

Per buildfarm.
pull/6/head
Heikki Linnakangas 12 years ago
parent ce9bb92f8f
commit 28475f8e58
  1. 2
      contrib/pg_xlogdump/pg_xlogdump.c

@ -705,7 +705,7 @@ main(int argc, char **argv)
break; break;
else else
{ {
sleep(1); pg_usleep(1000000L); /* 1 second */
continue; continue;
} }
} }

Loading…
Cancel
Save