Cleanup more code and comments related to Windows NT4 (XP days)
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/port/win32/socket.c | modified | +1 −1 |
| src/bin/pg_ctl/pg_ctl.c | modified | +5 −14 |
| src/interfaces/libpq/win32.c | modified | +0 −4 |
| src/port/dirmod.c | modified | +1 −1 |
Discussion
- Bump MIN_WINNT to 0x0600 (Vista) as minimal runtime in 16~ 36 messages · 2022-05-26 → 2023-05-15