From: Andrew Dunstan Date: Wed, 30 Mar 2011 20:43:31 +0000 (-0400) Subject: Attempt to unbreak windows builds broken by commit 754baa2. X-Git-Tag: REL9_1_BETA1~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=382fb6a08f524327b5e3084b3652fba2e12f1ba2;p=postgresql Attempt to unbreak windows builds broken by commit 754baa2. --- diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c index 724d3ae894..3232e64d4a 100644 --- a/src/backend/libpq/pqcomm.c +++ b/src/backend/libpq/pqcomm.c @@ -663,7 +663,7 @@ StreamConnection(pgsocket server_fd, Port *port) * This is a Win32 socket optimization. The ideal size is 32k. * http://support.microsoft.com/kb/823764/EN-US/ */ - on = PQ_BUFFER_SIZE * 4; + on = PQ_SEND_BUFFER_SIZE * 4; if (setsockopt(port->sock, SOL_SOCKET, SO_SNDBUF, (char *) &on, sizeof(on)) < 0) {