Re: Multiple hosts in connection string failed to failover in non-hot standby mode

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multiple hosts in connection string failed to failover in non-hot standby mode
Дата
Msg-id 864104.1610378152@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Multiple hosts in connection string failed to failover in non-hot standby mode  (Hubert Zhang <zhubert@vmware.com>)
Список pgsql-hackers
Hubert Zhang <zhubert@vmware.com> writes:
> As for patch 0004, find ':' after "could not connect to" may failed when error message like:
> "could not connect to host "localhost" (::1), port 12345: Connection refused", where p2 will point to "::1" instead
of": Connection refused". But since it's only used for test case, we don't need to filter the error message precisely. 

Excellent point, and I think that could happen on a Windows installation.
We can make it look for ": " instead of just ':', and that'll reduce the
odds of trouble.

            regards, tom lane



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: popcount
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade test for binary compatibility of core data types