Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces

Поиск
Список
Период
Сортировка
От Stelios Malathouras
Тема Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces
Дата
Msg-id PAWPR05MB10431391F889466D240403A988D8E2@PAWPR05MB10431.eurprd05.prod.outlook.com
обсуждение исходный текст
Ответы Re: Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces
Re: Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces
Список pgsql-admin
Hi,

We've scheduled for an IP change for one of our dedicated PostgreSQL servers, running on version 13.8.
Our local tests, with listen_addresses = '*',  show that the postgres listener accepts connections immediately to the new IP.
The same behavior is observed when adding a new network interface.  Postgres accepts connections to the new network interface (and IP) immediately without requiring a restart.

Is it safe to assume this is the default behaviour ? How does the instance detect new interfaces and their IP(s) and begin listening on them without needing a service reload or restart?  

Thanks,

Stelios

 

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