pgsql: Call getsockopt() on the correct socket. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Call getsockopt() on the correct socket.
Date
Msg-id E1ZC72F-0003LK-Jc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Call getsockopt() on the correct socket.

We're interested in the buffer size of the socket that's connected to the
client, not the one that's listening for new connections. It happened to
work, as default buffer size is the same on both, but it was clearly not
wrong.

Spotted by Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8e33fc1784cbd657a7238ab5639ee1f8f54a3ec0

Modified Files
--------------
src/backend/libpq/pqcomm.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Don't set SO_SNDBUF on recent Windows versions that have a bigge
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Turn install.bat into a pure one line wrapper fort he perl scrip