Re: abstract Unix-domain sockets
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-11-18T02:00:28Z
Lists: pgsql-hackers
On Tue, Nov 17, 2020 at 11:18:12PM +0100, Peter Eisentraut wrote: > So the mention of the "port" doesn't really add any information here and > just introduces new terminology that isn't really relevant. > > My idea is to change the message to: > > ERROR: could not bind Unix address "/tmp/.s.PGSQL.5432": Address already in > use > HINT: Is another postmaster already running at this address? Are you saying that you would remove the hint telling to remove the socket file even for the case of non-abstract files? For abstract paths, this makes sense. For both, removing the "port" part is indeed a good idea as long as you keep around the full socket file name. -- Michael
Commits
-
Add support for abstract Unix-domain sockets
- c9f0624bc2f5 14.0 landed
-
Make error hint from bind() failure more accurate
- d5d91acdccae 14.0 landed
-
Remove obsolete ifdefs
- 555eb1a4f011 14.0 landed