postgresql/contrib/dblink/pg_service.conf
Noah Misch d7cdf6ee36 Diagnose incompatible OpenLDAP versions during build and test.
With OpenLDAP versions 2.4.24 through 2.4.31, inclusive, PostgreSQL
backends can crash at exit.  Raise a warning during "configure" based on
the compile-time OpenLDAP version number, and test the crash scenario in
the dblink test suite.  Back-patch to 9.0 (all supported versions).
2014-07-22 11:01:03 -04:00

8 lines
315 B
Plaintext

# pg_service.conf for minimally exercising libpq use of LDAP.
# Having failed to reach an LDAP server, libpq essentially ignores the
# "service=test_ldap" in its connection string. Contact the "discard"
# service; the test works whether or not it answers.
[test_ldap]
ldap://127.0.0.1:9/base?attribute?one?filter