diff --git src/bin/scripts/vacuumdb.c src/bin/scripts/vacuumdb.c index 887fa48fbd..243d842d06 100644 --- src/bin/scripts/vacuumdb.c +++ src/bin/scripts/vacuumdb.c @@ -947,13 +947,6 @@ init_slot(ParallelSlot *slot, PGconn *conn, const char *progname) slot->connection = conn; slot->isFree = true; slot->sock = PQsocket(conn); - - if (slot->sock < 0) - { - fprintf(stderr, _("%s: invalid socket: %s"), progname, - PQerrorMessage(conn)); - exit(1); - } } static void