Skip to content

Commit b1d3de6

Browse files
committed
Someone (possibly me) foolishly reduced the response for failing
to create a TCP/IP socket from FATAL to LOG. This was unwise; historically we have expected socket conflicts to abort postmaster startup. Conflicts on port numbers with another postmaster can only be detected reliably at the TCP socket level.
1 parent 9fc3b93 commit b1d3de6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.344 2003/09/11 18:30:39 momjian Exp $
40+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.345 2003/09/12 19:33:59 tgl Exp $
4141
*
4242
* NOTES
4343
*
@@ -753,7 +753,7 @@ PostmasterMain(int argc, char *argv[])
753753
UnixSocketDir,
754754
ListenSocket, MAXLISTEN);
755755
if (status != STATUS_OK)
756-
ereport(LOG,
756+
ereport(FATAL,
757757
(errmsg("could not create listen socket for \"%s\"",
758758
curhost)));
759759
if (endptr)
@@ -772,7 +772,7 @@ PostmasterMain(int argc, char *argv[])
772772
UnixSocketDir,
773773
ListenSocket, MAXLISTEN);
774774
if (status != STATUS_OK)
775-
ereport(LOG,
775+
ereport(FATAL,
776776
(errmsg("could not create TCP/IP listen socket")));
777777
}
778778

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy