Re: PQinitSSL broken in some use casesf

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: PQinitSSL broken in some use casesf
Дата
Msg-id b42b73150903281352m4dd0bfa2v8f47bf946fc59cc1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PQinitSSL broken in some use casesf  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Sat, Mar 28, 2009 at 4:26 PM, Bruce Momjian <bruce@momjian.us> wrote:
> Andrew Chernow wrote:
>> Tom Lane wrote:
>> > This is just a rehash of one of the patches that was discussed earlier.
>> > There wasn't consensus for it then, and there's not now.
>> >
>>
>> I am personally out of ideas.  It feels like this issue has been beaten
>> to death.  There are only a few ways to do it and I believe they have
>> all been put on the table.  Any suggestions?
>
> Well, at least the current behavior is documented now.

You mean, with your proposed documentation patch?  (if you meant my
proposed advice, then ignore the following paragraph)

Not only does it not suggest the problem, it actually misinforms
you...it suggests you call PQinitSSL(0) when "your application
initializes <literal>libssl</> or  <literal>libcrypto</> libraries".
The operative word being 'or'.  If you follow the advice after only
having initialized the libcrypto library, you would get a failure
trying to use libpq/SSL.

merlin


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PQinitSSL broken in some use casesf
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: improving concurrent transactin commit rate