Re: Libpq functions & string to obtain connection parameters - Mailing list pgsql-general

From Tom Lane
Subject Re: Libpq functions & string to obtain connection parameters
Date
Msg-id 5393.1475852752@sss.pgh.pa.us
Whole thread Raw
In response to Re: Libpq functions & string to obtain connection parameters  (arnaud gaboury <arnaud.gaboury@gmail.com>)
List pgsql-general
arnaud gaboury <arnaud.gaboury@gmail.com> writes:
> OK. Now I know unix user mattermost can connect to mattermost Db via unix
> socket. BUT when trying to write this in my URI:

> postgresql://mmuser:MyPwd@/mattermost?connect_timeout=10

> I get this from my app :
> Failed to ping db err:pq: SSL is not enabled on the server

> Is it normal to still have this error ? Adding  sslmode param will not
> change anything as it is ignored for Unix domain socket communication.

That message isn't coming out of libpq; I can't find any such string
in the community git repo.

            regards, tom lane


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Libpq functions & string to obtain connection parameters
Next
From: arnaud gaboury
Date:
Subject: Re: Libpq functions & string to obtain connection parameters