aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2014-04-16 17:18:02 +0200
committerMagnus Hagander <magnus@hagander.net>2014-04-16 18:59:28 +0200
commitc4bf15b9c3f80da78e1c5c32c8063c3146f85af8 (patch)
treee2fd2a93ceee25e7421347a0704bfc7c71a98e74 /src/backend/access/gist/gistvacuum.c
parentbed499ed1d94f05195c63387d4629644e0df4149 (diff)
downloadpostgresql-c4bf15b9c3f80da78e1c5c32c8063c3146f85af8.tar.gz
postgresql-c4bf15b9c3f80da78e1c5c32c8063c3146f85af8.zip
Fix timeout in LDAP lookup of libpq connection parameters
Bind attempts to an LDAP server should time out after two seconds, allowing additional lines in the service control file to be parsed (which provide a fall back to a secondary LDAP server or default options). The existing code failed to enforce that timeout during TCP connect, resulting in a hang far longer than two seconds if the LDAP server does not respond. Laurenz Albe
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions