Re: PQConnectdb SSL (sslmode): Is this a bug - Mailing list pgsql-general

From Michael Fuhr
Subject Re: PQConnectdb SSL (sslmode): Is this a bug
Date
Msg-id 20050826223619.GB19045@winnie.fuhr.org
Whole thread Raw
In response to Re: PQConnectdb SSL (sslmode): Is this a bug  (vishal saberwal <vishalsaberwal@gmail.com>)
List pgsql-general
On Fri, Aug 26, 2005 at 02:03:05PM -0700, vishal saberwal wrote:
> sorry, but forgot to mention,
> when i change to sslmode=allow, it lets me connect and runs my query

That's because "allow" attempts a non-SSL connection first, whereas
"prefer" attempts an SSL connection first.  If the server permits
non-SSL connections then "allow" will get you connected as non-SSL
without ever attempting SSL.

--
Michael Fuhr

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: PQConnectdb SSL (sslmode): Is this a bug
Next
From: William Yu
Date:
Subject: Re: Postgresql replication