OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf4740
)
Attempt to unbreak windows builds broken by commit 754baa2.
author
Andrew Dunstan
<andrew@dunslane.net>
Wed, 30 Mar 2011 20:43:31 +0000
(16:43 -0400)
committer
Andrew Dunstan
<andrew@dunslane.net>
Wed, 30 Mar 2011 20:43:31 +0000
(16:43 -0400)
src/backend/libpq/pqcomm.c
patch
|
blob
|
history
diff --git
a/src/backend/libpq/pqcomm.c
b/src/backend/libpq/pqcomm.c
index
724d3ae
..
3232e64
100644
(file)
--- 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)
{