Re: BUG #17625: In PG15 PQsslAttribute returns different values than PG14 when SSL is not in use for the connection

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: BUG #17625: In PG15 PQsslAttribute returns different values than PG14 when SSL is not in use for the connection
Дата
Msg-id B9EC60EC-F665-47E8-A221-398C76E382C9@yesql.se
обсуждение исходный текст
Ответ на Re: BUG #17625: In PG15 PQsslAttribute returns different values than PG14 when SSL is not in use for the connection  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #17625: In PG15 PQsslAttribute returns different values than PG14 when SSL is not in use for the connection  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> On 29 Sep 2022, at 22:45, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> I'll go tweak the documentation as per Daniel's thoughts and push.

Thanks!

Reading a few lines further down in the docs I noticed this description for the
compression parameter to PQsslAttribute:

    "If SSL compression is in use, returns the name of the compression
    algorithm, or "on" if compression is used but the algorithm is not
    known.  If compression is not in use, returns "off"."

AFAICT that has never been the case since 91fa7b4719ac, it has always just
returned "on" or "off" and never the name of the compression algorithm.  I
propose to apply the attached backpatched to make the docs align with the code.

--
Daniel Gustafsson        https://vmware.com/


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17625: In PG15 PQsslAttribute returns different values than PG14 when SSL is not in use for the connection
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17625: In PG15 PQsslAttribute returns different values than PG14 when SSL is not in use for the connection