pgsql: Cleanup more code and comments related to Windows NT4 (XP days) - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Cleanup more code and comments related to Windows NT4 (XP days)
Date
Msg-id E1oSpVM-000XEM-6V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Cleanup more code and comments related to Windows NT4 (XP days)

All the code and comments cleaned up here is irrelevant since 495ed0e.
Note that this removes an assumption that CreateRestrictedToken() may
not exist, something that could have happened when running under Windows
NT as the code stated.  Rather than assuming that it may not exist, this
causes pg_ctl to fail hard if the function cannot be loaded.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20220826112637.GD2342@telsasoft.com

Branch
------
master

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

Modified Files
--------------
src/backend/port/win32/socket.c |  2 +-
src/bin/pg_ctl/pg_ctl.c         | 19 +++++--------------
src/interfaces/libpq/win32.c    |  4 ----
src/port/dirmod.c               |  2 +-
4 files changed, 7 insertions(+), 20 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Clean up inconsistent use of fflush().
Next
From: Julien Rouhaud
Date:
Subject: Re: pgsql: Fix broken cast on MSVC