Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j4c7Z-0003gE-Ox for pgsql-committers@arkaria.postgresql.org; Thu, 20 Feb 2020 03:03:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j4c7Y-0005gi-DF for pgsql-committers@arkaria.postgresql.org; Thu, 20 Feb 2020 03:03:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j4c7X-0005gX-6F for pgsql-committers@lists.postgresql.org; Thu, 20 Feb 2020 03:03:24 +0000 Received: from [66.111.4.25] (helo=out1-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4c7P-0001Ys-OY for pgsql-committers@lists.postgresql.org; Thu, 20 Feb 2020 03:03:21 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 03EBD220B5; Wed, 19 Feb 2020 22:03:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 19 Feb 2020 22:03:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=MOmlboLHlepLJaB57qBYM0p+4Y0 f1yczC8OqSeBsqks=; b=Jjy0XOM5YtyilUVWQQ7DA3QdOuCkcn7aiD1S9G7ag6g UGDR6oijs9PIA4ASX4a/wQ9sQgr6U+WryVvVl85NcknKa1kR56qY/r8JTMLOCQM2 4A//1fMgLuVQsQgB19E9IiswTq+YtgXW1c9HIvmK339P68/9N/JMU4TPDPotqFiV OYuRIzQ0mk2rHaTId72drg9TTvlpWeyDbNPSlLCHsI0knSAMHBTD3rZFqb70qtmn 6NJ1MYvTBqtx24lba5i7LwvvJ++eOzUSJnszubmOC5KXaScqOo9RHlzrvMb0FGr9 jxvbiwxM8eO1krEOKsUeSrktwxIAnaj8ia+e0u+5RHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=MOmlbo LHlepLJaB57qBYM0p+4Y0f1yczC8OqSeBsqks=; b=37oqxho6CUW6v7jyHJpEA4 LUsCCrNjeKiUERDHiyUtzqgGYNbBN5/L7HtEWs/mZtNOpAmal6U3xU0rnecMf1QF dxSlpgZpRFU4+ls5gahcoydv6b6kzuCUfnMKC7blGaT5StwO8UyBozO6H2SquszC X3w/7wZfqfxf6hec5iDBa4/Pmt4ogyd3jZU4RSmVSWFtkIbCsC2100vi0U+efIF2 32/OHH2/WcCRn2KrFzZFy561Stcxp/soXuS5ADqo4Y9TOM4Y+RBgJjZVsr/13Fd1 GPHXTkPTfAjezExMGl0mtSYpYsKnyZPlJ2m1RWQKTLFNdKO6G8xps07pXDOzGokg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkedugdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecukfhppeduuddurddutd dvrddukedtrddukeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 480FB3280059; Wed, 19 Feb 2020 22:03:00 -0500 (EST) Date: Thu, 20 Feb 2020 12:02:40 +0900 From: Michael Paquier To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Clean up some code, comments and docs referring to Windows 2000 Message-ID: <20200220030240.GG2288@paquier.xyz> References: <9781.1582146114@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="B8ONY/mu/bqBak9m" Content-Disposition: inline In-Reply-To: <9781.1582146114@sss.pgh.pa.us> X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --B8ONY/mu/bqBak9m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 19, 2020 at 04:01:54PM -0500, Tom Lane wrote: > Surely this patch broke the error case in haveNativeWindowsIPv6routines()? > That is, in the admittedly unlikely case that LoadLibraryA("ws2_32") > succeeds but GetProcAddress(hLibrary, "getaddrinfo") doesn't, what you > now have will do FreeLibrary(hLibrary) and then proceed to use the > now-dangling hLibrary pointer anyway. You are right, thanks! This block has no meaning anymore, so removed. For the note, it looks that we could get completely rid of src/port/getaddrinfo.c once we drop support for XP as IPv6 support is enabled by default on Vista and Windows 7. For XP, one needs to install an extra module manually. Do you think that there are other platforms using our port implementation for getaddrinfo() except Windows? That's not material for today, obviously. -- Michael --B8ONY/mu/bqBak9m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl5N9tAACgkQnvQgOdby QH1nAg//W8bnbsFgD3RvK5h6L/QbeCSgVOkxI9ywimGCpDPBJ8PvtM5fi8mpjnRL i0ymhGfrD+Hj7FV+Iwo6LD2QOZgqxw3zCUjMu5Pk1cFjfO4OMzK96i4Hpc5CPSjg ujt/rsakuB8VM+cM1gVTphp+GmOpXmodHV2F5OuC9Of+nVGVPV+sDLkoxOwABC5B iqastVYUNGWz4X/Ig9WYVaWuToIN7oxUoX3uOgGQzOx7w9clQEuq0S5/bI/3bfZO DHtHCNFv69iSSlh8UQqKm0mhpnNxvEX5P5BcGtVFZyFZxe2BeZLV/Sxn2lyCY2uy Bd0whRkCjAM75PCpcR3pPS1Rp9izYf1kK4bk6TN370XmNG3v20XZEuA/LXhj8+Lp +RuE0AEFDoPbtoZzFrPHu50eIlL70GwcwYEnAaamLmnnRo+pQgBsjiUA+cXH5M9U UC21Y6aUnH/bRMLr3/zFtZgAcVXlkvO11lcqzpoZgz7l4aPnSaQHuRhuFHKQBruO FwEjAIeUC2ZfMGxO8A3r3UqgHfJW2CnNmw6wQiWuIMD2Ud48zISkVadQUMtoOCXM STTAQIFZ1QbANtsnGzgzQ4/8zDz+2eSsyr2Kwt5x2bd0IKx3MROpV5dXk5TTwBcb GQI0r2L3SlbdtD2jyuYFA99y1gQT/vLdUs7cu38si+E3D92QTCQ= =DeIs -----END PGP SIGNATURE----- --B8ONY/mu/bqBak9m--