Re: does multi host connection string supports login event trigger exception

Поиск
Список
Период
Сортировка
От Pavel Luzanov
Тема Re: does multi host connection string supports login event trigger exception
Дата
Msg-id 1f740e0d-f58b-4492-85c4-bbfb330c9f89@postgrespro.ru
обсуждение исходный текст
Ответ на does multi host connection string supports login event trigger exception  (legrand legrand <legrand_legrand@hotmail.com>)
Ответы Re : does multi host connection string supports login event trigger exception
Список pgsql-general
Hi, legrand!


On 19.06.2025 22:31, legrand legrand wrote:
P {margin-top:0;margin-bottom:0;}
I'm trying to build a login event trigger in conjonction with a multi host connectio string
to manager instances roles in a logical replication cluster.

According to docs:
If a connection is established successfully, but authentication fails, the remaining hosts in the list are not tried.

So, I think that this is impossible to use multiple hosts feature of libpq with on login trigger to skip some host.
-- 
Pavel Luzanov
Postgres Professional: https://postgrespro.com

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