Re: Serverside SNI support in libpq

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Serverside SNI support in libpq
Дата
Msg-id 368855.1777932002@sss.pgh.pa.us
обсуждение
Ответ на Re: Serverside SNI support in libpq  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Serverside SNI support in libpq
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
>> On 4 May 2026, at 21:22, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> As a side matter, "load_host" seems like a remarkably generic name
>> that conveys little about what it actually does,

> It's following the naming convention of load_hba() which reads pg_hba.conf, and
> load_ident() which reads pg_ident.conf - thus load_hosts() for the function
> that reads pg_hosts.conf.  Perhaps load_pg_hosts_conf() or load_hosts_config()
> would convey more meaning?

Hmm, okay.  I'd prefer a more specific name, but it wouldn't make
much sense unless we also rename those two.  That's probably more
code churn than is justified.

I'll push the thing for moving/using the typedef, but leave the
function name alone.

            regards, tom lane



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