Skip to content

Commit 242625f

Browse files
committed
From: Bryan Henderson <bryanh@giraffe.netgate.net>
My analysis of the formerly mentioned IPC reinitialization problem was hampered by an imprecise error message. I have rewritten it so it is clearer and more accurate.
1 parent 213d7b1 commit 242625f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/backend/tcop/postgres.c

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.52 1997/11/07 20:51:54 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.53 1997/11/09 04:47:09 scrappy Exp $
1111
*
1212
* NOTES
1313
* this is the "main" module of the postgres backend and
@@ -744,11 +744,13 @@ handle_warn(SIGNAL_ARGS)
744744
static void
745745
quickdie(SIGNAL_ARGS)
746746
{
747-
elog(NOTICE, "I have been signalled by the postmaster.");
748-
elog(NOTICE, "Some backend process has died unexpectedly and possibly");
749-
elog(NOTICE, "corrupted shared memory. The current transaction was");
750-
elog(NOTICE, "aborted, and I am going to exit. Please resend the");
751-
elog(NOTICE, "last query. -- The postgres backend");
747+
elog(NOTICE, "Message from PostgreSQL backend: The Postmaster has ");
748+
elog(NOTICE, "informed me that some other backend died abnormally and ");
749+
elog(NOTICE, "possibly corrupted shared memory. I have rolled back ");
750+
elog(NOTICE, "the current transaction and am going to terminate your ");
751+
elog(NOTICE, "database system connection and exit. Please reconnect to");
752+
elog(NOTICE, "the database system and repeat your query.");
753+
752754

753755
/*
754756
* DO NOT ExitPostgres(0) -- we're here because shared memory may be
@@ -1337,7 +1339,7 @@ PostgresMain(int argc, char *argv[])
13371339
if (IsUnderPostmaster == false)
13381340
{
13391341
puts("\nPOSTGRES backend interactive interface");
1340-
puts("$Revision: 1.52 $ $Date: 1997/11/07 20:51:54 $");
1342+
puts("$Revision: 1.53 $ $Date: 1997/11/09 04:47:09 $");
13411343
}
13421344

13431345
/* ----------------

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