Commit 242625f2 authored by Marc G. Fournier's avatar Marc G. Fournier

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.
parent 213d7b1a
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.52 1997/11/07 20:51:54 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.53 1997/11/09 04:47:09 scrappy Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -744,11 +744,13 @@ handle_warn(SIGNAL_ARGS) ...@@ -744,11 +744,13 @@ handle_warn(SIGNAL_ARGS)
static void static void
quickdie(SIGNAL_ARGS) quickdie(SIGNAL_ARGS)
{ {
elog(NOTICE, "I have been signalled by the postmaster."); elog(NOTICE, "Message from PostgreSQL backend: The Postmaster has ");
elog(NOTICE, "Some backend process has died unexpectedly and possibly"); elog(NOTICE, "informed me that some other backend died abnormally and ");
elog(NOTICE, "corrupted shared memory. The current transaction was"); elog(NOTICE, "possibly corrupted shared memory. I have rolled back ");
elog(NOTICE, "aborted, and I am going to exit. Please resend the"); elog(NOTICE, "the current transaction and am going to terminate your ");
elog(NOTICE, "last query. -- The postgres backend"); elog(NOTICE, "database system connection and exit. Please reconnect to");
elog(NOTICE, "the database system and repeat your query.");
/* /*
* DO NOT ExitPostgres(0) -- we're here because shared memory may be * DO NOT ExitPostgres(0) -- we're here because shared memory may be
...@@ -1337,7 +1339,7 @@ PostgresMain(int argc, char *argv[]) ...@@ -1337,7 +1339,7 @@ PostgresMain(int argc, char *argv[])
if (IsUnderPostmaster == false) if (IsUnderPostmaster == false)
{ {
puts("\nPOSTGRES backend interactive interface"); puts("\nPOSTGRES backend interactive interface");
puts("$Revision: 1.52 $ $Date: 1997/11/07 20:51:54 $"); puts("$Revision: 1.53 $ $Date: 1997/11/09 04:47:09 $");
} }
/* ---------------- /* ----------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment