summaryrefslogtreecommitdiffstats
path: root/contrib/dblink/pg_service.conf
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dblink/pg_service.conf')
-rw-r--r--contrib/dblink/pg_service.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/dblink/pg_service.conf b/contrib/dblink/pg_service.conf
new file mode 100644
index 0000000..92201f0
--- /dev/null
+++ b/contrib/dblink/pg_service.conf
@@ -0,0 +1,7 @@
+# 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