]> git.ipfire.org Git - thirdparty/pdns.git/commit
Enable setting custom psql connection parameters 4711/head
authorTarjei Husøy <git@thusoy.com>
Sat, 26 Nov 2016 01:07:43 +0000 (17:07 -0800)
committerTarjei Husøy <git@thusoy.com>
Mon, 23 Jan 2017 21:11:01 +0000 (13:11 -0800)
commit31354622859a9bbccbd91ac402d1299aee7b827d
treeb0dfa058b9120f4c73cbb92e6b545a275f25afe2
parent98883b8ff3ddb6bfe9615ab660c7bc107ec00594
Enable setting custom psql connection parameters

This makes it possible to ensure we're connecting over TLS and validate
the connection against a known CA. And everything else that be
configured as connection parameters, like TCP keepalive behavior,
timeouts, etc. Full spec:
https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS

Closes #2138.
docs/markdown/authoritative/backend-generic-postgresql.md
modules/gpgsqlbackend/gpgsqlbackend.cc
modules/gpgsqlbackend/spgsql.cc
modules/gpgsqlbackend/spgsql.hh