summaryrefslogtreecommitdiff
path: root/src/backend/libpq
diff options
context:
space:
mode:
authorMichael Paquier2020-02-19 04:20:33 +0000
committerMichael Paquier2020-02-19 04:20:33 +0000
commite2e02191e23379502a38a6b0436ab7f41b2efc08 (patch)
tree081dc28955ea0a5000d4bd7029bdb608289c0c67 /src/backend/libpq
parente3ff789acfb2754cd7b5e87f6f4463fd08e35996 (diff)
Clean up some code, comments and docs referring to Windows 2000 and older
This fixes and updates a couple of comments related to outdated Windows versions. Particularly, src/common/exec.c had a fallback implementation to read a file's line from a pipe because stdin/stdout/stderr does not exist in Windows 2000 that is removed to simplify src/common/ as there are unlikely versions of Postgres running on such platforms. Author: Michael Paquier Reviewed-by: Kyotaro Horiguchi, Juan José Santamaría Flecha Discussion: https://postgr.es/m/20191219021526.GC4202@paquier.xyz
Diffstat (limited to 'src/backend/libpq')
-rw-r--r--src/backend/libpq/auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index c4f5a553ac4..e1057f9fc75 100644
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -2503,9 +2503,9 @@ InitializeLDAPConnection(Port *port, LDAP **ldap)
if (_ldap_start_tls_sA == NULL)
{
/*
- * Need to load this function dynamically because it does not
- * exist on Windows 2000, and causes a load error for the whole
- * exe if referenced.
+ * Need to load this function dynamically because it may not exist
+ * on Windows, and causes a load error for the whole exe if
+ * referenced.
*/
HANDLE ldaphandle;