From: Bryan Henderson
authorMarc G. Fournier
Sun, 9 Nov 1997 04:47:09 +0000 (04:47 +0000)
committerMarc G. Fournier
Sun, 9 Nov 1997 04:47:09 +0000 (04:47 +0000)
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.

src/backend/tcop/postgres.c

index 729f9a00039919f51082bce99b92a148a5635d62..0d3daabe8d3fe9ee7576df91748655dc3f27192c 100644 (file)
@@ -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 $");
    }
 
    /* ----------------