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(-)
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера