Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit242625f

Browse files
committed
From: Bryan Henderson <bryanh@giraffe.netgate.net>
My analysis of the formerly mentioned IPC reinitialization problem washampered by an imprecise error message. I have rewritten it so it isclearer and more accurate.
1 parent213d7b1 commit242625f

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
staticvoid
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)

[8]ページ先頭

©2009-2025 Movatter.jp