Re: slower connect from hostnossl clients - Mailing list pgsql-hackers

From Tom Lane
Subject Re: slower connect from hostnossl clients
Date
Msg-id 32274.1465305971@sss.pgh.pa.us
Whole thread Raw
In response to Re: slower connect from hostnossl clients  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> One thing that could be taking the time is an extra roundtrip -- e.g. it
> tries to connect with ssl fails and retries without.

I'd assume a priori that that's it.  If so, the fix is to configure libpq
to try non-SSL first not SSL first.  There is an option for that, IIRC.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [sqlsmith] Failed assertion in postgres_fdw/deparse.c:1116
Next
From: Ants Aasma
Date:
Subject: WIP: Data at rest encryption