Re: Potentially misleading name of libpq pass phrase hook

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: Potentially misleading name of libpq pass phrase hook
Дата
в 01:16:34
Msg-id
944f7b71-9ec7-f780-956c-9bf3871a62fd@2ndQuadrant.com
Ответ на
Список
Дерево обсуждения
Potentially misleading name of libpq pass phrase hook Daniel Gustafsson <daniel@yesql.se>
Re: Potentially misleading name of libpq pass phrase hook Magnus Hagander <magnus@hagander.net>
Re: Potentially misleading name of libpq pass phrase hook Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Potentially misleading name of libpq pass phrase hook Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: Potentially misleading name of libpq pass phrase hook Tom Lane <tgl@sss.pgh.pa.us>
Re: Potentially misleading name of libpq pass phrase hook "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Potentially misleading name of libpq pass phrase hook Michael Paquier <michael@paquier.xyz>
Re: Potentially misleading name of libpq pass phrase hook Daniel Gustafsson <daniel@yesql.se>
Re: Potentially misleading name of libpq pass phrase hook Tom Lane <tgl@sss.pgh.pa.us>
Re: Potentially misleading name of libpq pass phrase hook Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: Potentially misleading name of libpq pass phrase hook "Jonathan S. Katz" <jkatz@postgresql.org>

On 5/16/20 7:47 PM, Tom Lane wrote:
> Daniel Gustafsson  writes:
>>> On 16 May 2020, at 03:56, Michael Paquier  wrote:
>>> Agreed.  PQsslKeyPassHook__type sounds fine to me as
>>> convention.  Wouldn't we want to also rename PQsetSSLKeyPassHook and
>>> PQgetSSLKeyPassHook, appending an "_OpenSSL" to both?
>> Yes, I think we should.  The attached performs the rename of the hook functions
>> and the type, and also fixes an off-by-one-'=' in a header comment which my OCD
>> couldn't unsee.
> The patch as committed missed renaming PQgetSSLKeyPassHook() itself,
> but did rename its result type, which seemed to me to be clearly
> wrong.  I took it on myself to fix that up, and also to fix exports.txt
> which some of the buildfarm insists be correct ;-)
>
> 			



argh! thanks!


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления
От: Jack Christensen
Дата:
От: Alvaro Herrera
Дата:
Сообщение: Re: Add A Glossary
FAQ