aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-11-09 04:47:09 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-11-09 04:47:09 +0000
commit242625f26bacbcd6e7c59924e4d13a7fc9cb5ca2 (patch)
tree1434e61b186fb77fb8ea6c7646c61c128b549097
parent213d7b1ae3dc05a2df06f01d2dca0b58fa2747e9 (diff)
downloadpostgresql-242625f26bacbcd6e7c59924e4d13a7fc9cb5ca2.tar.gz
postgresql-242625f26bacbcd6e7c59924e4d13a7fc9cb5ca2.zip
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.
-rw-r--r--src/backend/tcop/postgres.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 729f9a00039..0d3daabe8d3 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -7,7 +7,7 @@
*
*
* 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
* this is the "main" module of the postgres backend and
@@ -744,11 +744,13 @@ handle_warn(SIGNAL_ARGS)
static void
quickdie(SIGNAL_ARGS)
{
- elog(NOTICE, "I have been signalled by the postmaster.");
- elog(NOTICE, "Some backend process has died unexpectedly and possibly");
- elog(NOTICE, "corrupted shared memory. The current transaction was");
- elog(NOTICE, "aborted, and I am going to exit. Please resend the");
- elog(NOTICE, "last query. -- The postgres backend");
+ elog(NOTICE, "Message from PostgreSQL backend: The Postmaster has ");
+ elog(NOTICE, "informed me that some other backend died abnormally and ");
+ elog(NOTICE, "possibly corrupted shared memory. I have rolled back ");
+ elog(NOTICE, "the current transaction and am going to terminate your ");
+ 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
@@ -1337,7 +1339,7 @@ PostgresMain(int argc, char *argv[])
if (IsUnderPostmaster == false)
{
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 $");
}
/* ----------------