Re: PQConnectdb SSL (sslmode): Is this a bug

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: PQConnectdb SSL (sslmode): Is this a bug
Дата
Msg-id 20050826223619.GB19045@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: PQConnectdb SSL (sslmode): Is this a bug  (vishal saberwal <vishalsaberwal@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: PQConnectdb SSL (sslmode): Is this a bug
Следующее
От: William Yu
Дата:
Сообщение: Re: Postgresql replication