Re: Document that server will start even if it's unable to open some TCP/IP ports - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Document that server will start even if it's unable to open some TCP/IP ports
Date
Msg-id 1800867.1686688111@sss.pgh.pa.us
Whole thread Raw
In response to Re: Document that server will start even if it's unable to open some TCP/IP ports  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Document that server will start even if it's unable to open some TCP/IP ports
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> Before we spend too much time trying to document the current behavior, I
> think we should see if we can change it to something less surprising (i.e.,
> failing to start if the server fails for any address).  The original
> objections around kernel support for IPv6 might no longer stand.

I think that'd be more surprising not less.

The systemd guys certainly believe that daemons ought to auto-adapt
to changes in the machine's internet connectivity.  We aren't there
yet, but I can imagine somebody trying to fix that someday soon.
If the postmaster is able to dynamically acquire and drop ports then
it would certainly not make sense to behave as you suggest.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Joel Jacobson"
Date:
Subject: Re: Do we want a hashset type?
Next
From: "Tristan Partin"
Date:
Subject: Re: Meson build updates