diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/scripts/vacuumdb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c index 4aab4434882..068ae7a189e 100644 --- a/src/bin/scripts/vacuumdb.c +++ b/src/bin/scripts/vacuumdb.c @@ -10,6 +10,10 @@ *------------------------------------------------------------------------- */ +#ifdef WIN32 +#define FD_SETSIZE 1024 /* must set before winsock2.h is included */ +#endif + #include "postgres_fe.h" #ifdef HAVE_SYS_SELECT_H @@ -439,7 +443,7 @@ vacuum_one_database(const char *dbname, vacuumingOptions *vacopts, if (PQsocket(conn) >= FD_SETSIZE) { fprintf(stderr, - _("%s: too many jobs for this platform -- try %d"), + _("%s: too many jobs for this platform -- try %d\n"), progname, i); exit(1); } |