Обсуждение: pgsql: Call getsockopt() on the correct socket.

Поиск
Список
Период
Сортировка

pgsql: Call getsockopt() on the correct socket.

От
Heikki Linnakangas
Дата:
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(-)