Re: SSL support in PG 7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SSL support in PG 7.4
Дата
Msg-id 14667.1060262382@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SSL support in PG 7.4  (Barry Lind <blind@xythos.com>)
Ответы Re: SSL support in PG 7.4
Список pgsql-jdbc
Barry Lind <blind@xythos.com> writes:
> In general that may be true.  And I didn't into this very much at the
> time I did my initial v3 protocol work.  But in glancing at the code
> just now, it needs to at least correctly handle a v3 style error
> response from an ssl handshake request, no?

Actually not.  Any modern postmaster will give you either 'Y' or 'N'
back for an SSL request, whether it's compiled with SSL support or not.
An 'E' response is only possible from postmasters that predate the
introduction of SSL support ... and so it'll be V2 format for sure.
(I'm not sure that you really care what follows 'E' in this case,
anyway.  You can just drop the connection and try again without SSL.)

            regards, tom lane

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "srikanth nagaraju"
Дата:
Сообщение: pgsql - query
Следующее
От: Fernando Nasser
Дата:
Сообщение: Re: pgsql - query