pgsql: Cleanup more code and comments related to Windows NT4 (XP days)

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Cleanup more code and comments related to Windows NT4 (XP days)
Date: 2022-08-30 00:53:24
Message-ID: E1oSpVM-000XEM-6V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Julien Rouhaud 2022-08-30 02:26:36 Re: pgsql: Fix broken cast on MSVC
Previous Message Tom Lane 2022-08-29 17:55:51 pgsql: Clean up inconsistent use of fflush().