pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update the Winsock API version requested by libpq.
Date: Sun, 18 Oct 2020 16:56:47 +0000
Message-ID: <E1kUBzD-00029r-8A@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1kUBzD-00029r-8A@gemulon.postgresql.org>
Permalink:  ../E1kUBzD-00029r-8A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kUBzD-00029r-8A@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Update the Winsock API version requested by libpq.
  In-Reply-To: <E1kUBzD-00029r-8A@gemulon.postgresql.org>
  References: <E1kUBzD-00029r-8A@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox