Skip to content

Commit 28475f8

Browse files
committed
Use pg_usleep() instead of plain sleep(), to fix Windows build
Per buildfarm.
1 parent ce9bb92 commit 28475f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_xlogdump/pg_xlogdump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ main(int argc, char **argv)
705705
break;
706706
else
707707
{
708-
sleep(1);
708+
pg_usleep(1000000L); /* 1 second */
709709
continue;
710710
}
711711
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy