Re: host & hostssl entries in single pg_hba.conf - Mailing list pgsql-admin

From Tom Lane
Subject Re: host & hostssl entries in single pg_hba.conf
Date
Msg-id 9518.1081778032@sss.pgh.pa.us
Whole thread Raw
In response to host & hostssl entries in single pg_hba.conf  ("A.Bhuvaneswaran" <bhuvan@symonds.net>)
List pgsql-admin
"A.Bhuvaneswaran" <bhuvan@symonds.net> writes:
> I wish to have host & hostssl entries in single pg_hba.conf file. If ssl
> is set to true in postgresql.conf, even though we have host entry in
> pg_hba.conf, ssl connection is established. Is it a bug or am i doing
> something wrong?

That is the intended behavior.  In 7.4 you can control from the client
side whether libpq will try SSL or non-SSL first, but AFAIR the 7.3
client will always try SSL first if enabled.

            regards, tom lane

pgsql-admin by date:

Previous
From: "A.Bhuvaneswaran"
Date:
Subject: host & hostssl entries in single pg_hba.conf
Next
From: Robert Treat
Date:
Subject: Re: Location of a new column