Cleanup more code and comments related to Windows NT4 (XP days)
authorMichael Paquier <michael@paquier.xyz>
Tue, 30 Aug 2022 00:52:58 +0000 (09:52 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 30 Aug 2022 00:52:58 +0000 (09:52 +0900)
commitb1ec7f47e396be7dd71d19328153c2e8dce80222
treeb1399b9563ebb4199c0ab28e2ae35e6f3274547f
parent7fed801135bae14d63b11ee4a10f6083767046d8
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
src/backend/port/win32/socket.c
src/bin/pg_ctl/pg_ctl.c
src/interfaces/libpq/win32.c
src/port/dirmod.c