pgsql: Update the Winsock API version requested by libpq.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Update the Winsock API version requested by libpq.
Дата
Msg-id E1kUBzD-00029r-8A@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Update the Winsock API version requested by libpq.

According to Microsoft's documentation, 2.2 has been the current
version since Windows 98 or so.  Moreover, that's what the Postgres
backend has been requesting since 2004 (cf commit 4cdf51e64).
So there seems no reason for libpq to keep asking for 1.1.

Bring thread_test along, too, so that we're uniformly asking for 2.2
in all our WSAStartup calls.

It's not clear whether there's any point in back-patching this,
so for now I didn't.

Discussion: https://postgr.es/m/132799.1602960277@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d5a9a661fcd2f5db037274157f931863a52004fd

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 2 +-
src/test/thread/thread_test.c     | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: In pg_restore's dump_lo_buf(), work a little harder on error han
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Prevent overly large and NaN row estimates in relations