Re: PQinitSSL broken in some use casesf

Поиск
Список
Период
Сортировка
От Andrew Chernow
Тема Re: PQinitSSL broken in some use casesf
Дата
Msg-id 49CEEA08.10102@esilo.com
обсуждение исходный текст
Ответ на Re: PQinitSSL broken in some use casesf  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: PQinitSSL broken in some use casesf
Список pgsql-hackers
Robert Haas wrote:
> 
> Is there more substance here than meets the eye?
> 

No, you about summed it up.  We need a way to init libssl and libcrypto 
in any combo.  Along the way, PQinit() was discussed which may have 
muddied the waters.

I prefer leaving the PQinitSSL function alone, thus my patch that 
implements PQinitSecure(flags).

Adding PQinitSSL(new_value) seem reasonable to me.  My only complaint 
has been that the API user has no way of knowing if the function 
understood their request.  An older libpq would treat any non-zero 
argument as one, which would silently fail/mis-behave from a new apps 
perspective.  Not sure this can be solved.

In the end, anyway you do it will have an issue or two.  I agree that it 
really doesn't matter, all methods would probably do the trick.

Andrew Chernow
eSilo, LLC


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: psql \d* and system objects
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PQinitSSL broken in some use casesf