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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Cleanup more code and comments related to Windows NT4 (XP days)
Дата
Msg-id E1oSpVM-000XEM-6V@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up inconsistent use of fflush().
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: pgsql: Fix broken cast on MSVC