Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces - Mailing list pgsql-admin

From Stelios Malathouras
Subject Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces
Date
Msg-id PAWPR05MB10431391F889466D240403A988D8E2@PAWPR05MB10431.eurprd05.prod.outlook.com
Whole thread Raw
Responses Re: Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces
Re: Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces
List 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 by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Adding New Column with default value.
Next
From: Pratik Pandit
Date:
Subject: Re: Does PostgreSQL listen_addresses='*' Dynamically Detect New Interfaces