diff options
| author | Tom Lane | 2003-09-12 19:33:59 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-09-12 19:33:59 +0000 |
| commit | b1d3de6b96a59676c6e03f577d6c8ad88302153e (patch) | |
| tree | e39e8b2a2e87e5319fbb89d73ef21345069936ea /src | |
| parent | 9fc3b9330edd29a504004c72795e9e82002728dc (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/backend/postmaster/postmaster.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 2cb660e2f52..4fc3840f44b 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.344 2003/09/11 18:30:39 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.345 2003/09/12 19:33:59 tgl Exp $ * * NOTES * @@ -753,7 +753,7 @@ PostmasterMain(int argc, char *argv[]) UnixSocketDir, ListenSocket, MAXLISTEN); if (status != STATUS_OK) - ereport(LOG, + ereport(FATAL, (errmsg("could not create listen socket for \"%s\"", curhost))); if (endptr) @@ -772,7 +772,7 @@ PostmasterMain(int argc, char *argv[]) UnixSocketDir, ListenSocket, MAXLISTEN); if (status != STATUS_OK) - ereport(LOG, + ereport(FATAL, (errmsg("could not create TCP/IP listen socket"))); } |
