Closed drakkan closed 1 year ago
I haven't looked at postgres code for this recently, but the docs for libpq say:
sslmode
is ignored for Unix domain socket communication.
you're right, this is an oversight. I was working on multi host connections and that code creates problems if one of the hosts is a unix domain socket. We have to keep that check. Thank you
It is not supported in Postgres 9.6
https://www.postgresql.org/docs/9.6/runtime-config-connection.html
but it is supported in Postgres 10 and above
https://www.postgresql.org/docs/10/runtime-config-connection.html
Here are the supported Postgres versions:
https://www.postgresql.org/support/versioning/