Re: SSL SNI

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SSL SNI
Дата
Msg-id 15936.1622744081@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SSL SNI  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SSL SNI  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
I wrote:
> It looks like the immediate problem can be resolved by just adding
> a check for conn->pghost not being NULL,

... scratch that.  There's another problem here, which is that this
code should not be looking at conn->pghost AT ALL.  That will do the
wrong thing with a multi-element host list.  The right thing to be
looking at is conn->connhost[conn->whichhost].host --- with a test
to make sure it's not NULL or an empty string.  (I didn't stop to
study this code close enough to see if it'll ignore an empty
string without help.)

            regards, tom lane



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: security_definer_search_path GUC