From b1ec7f47e396be7dd71d19328153c2e8dce80222 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 30 Aug 2022 09:52:58 +0900 Subject: 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/interfaces/libpq/win32.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/libpq/win32.c b/src/interfaces/libpq/win32.c index e57b602476b..447f64c0726 100644 --- a/src/interfaces/libpq/win32.c +++ b/src/interfaces/libpq/win32.c @@ -271,10 +271,6 @@ struct MessageDLL * Returns a description of the socket error by first trying * to find it in the lookup table, and if that fails, tries * to load any of the winsock dlls to find that message. - * The DLL thing works from Nt4 (spX ?) up, but some special - * versions of winsock might have this as well (seen on Win98 SE - * special install) / Magnus Naeslund (mag@fbab.net) - * */ const char * -- cgit v1.2.3