pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Cleanup more code and comments related to Windows NT4 (XP days)
Date: Tue, 30 Aug 2022 00:53:24 +0000
Message-ID: <E1oSpVM-000XEM-6V@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1oSpVM-000XEM-6V@gemulon.postgresql.org>
Permalink:  ../E1oSpVM-000XEM-6V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oSpVM-000XEM-6V@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Cleanup more code and comments related to Windows NT4 (XP days)
  In-Reply-To: <E1oSpVM-000XEM-6V@gemulon.postgresql.org>
  References: <E1oSpVM-000XEM-6V@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox