aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql/postgres_fdw.sql
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:58:10 +0200
commit585bca393640b609c54159e1bedd30a89fec5ea8 (patch)
tree85b256592389b894aa3ec391ca369cf5d2b6ad14 /contrib/postgres_fdw/sql/postgres_fdw.sql
parentdfc0219f649d5450a5e4d491dab1eeb23ac5530a (diff)
downloadpostgresql-585bca393640b609c54159e1bedd30a89fec5ea8.tar.gz
postgresql-585bca393640b609c54159e1bedd30a89fec5ea8.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 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions