Clean up some old cruft related to Windows
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-12-19T02:15:26Z
Lists: pgsql-hackers
Attachments
- win32-old-cleanup.patch (text/x-diff) patch
Hi all, As discussed here, there is in the tree a couple of things related to past versions of Windows: https://www.postgresql.org/message-id/20191218021954.GE1836@paquier.xyz So I have been looking at that more closely, and found more: - MIN_WINNT can be removed from win32.h thanks to d9dd406 which has added a requirement on C99 with Windows 7 as minimum platform supported. (The issue mentioned previously.) - pipe_read_line(), used when finding another binary for a given installation via find_other_exec() has some special handling related to Windows 2000 and older versions. - When trying to load getaddrinfo(), we try to load it from wship6.ddl, which was something needed in Windows 2000, but newer Windows versions include it in ws2_32.dll. - A portion of the docs still refer to Windows 98. Thoughts? -- Michael
Commits
-
Doc: Fix instructions to control build environment with MSVC
- 4c95ce048327 12.3 landed
- dca3911a81f0 13.0 landed
-
Clean up some code, comments and docs referring to Windows 2000 and older
- e2e02191e233 13.0 landed