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

Commit8ad3965

Browse files
committed
Improve xid wraparound message (the server isn't really shut down, just
not accepting queries). errmsg("database is not accepting queries to avoid wraparound data loss in database \"%s\"", errhint("Stop the postmaster and use a standalone backend to VACUUM database \"%s\".",
1 parentf88e807 commit8ad3965

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/access/transam/varsup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/backend/access/transam/varsup.c,v 1.65 2005/08/12 01:35:55 tgl Exp $
9+
* $PostgreSQL: pgsql/src/backend/access/transam/varsup.c,v 1.66 2005/08/22 16:59:47 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -66,9 +66,9 @@ GetNewTransactionId(bool isSubXact)
6666
TransactionIdFollowsOrEquals(xid,ShmemVariableCache->xidStopLimit))
6767
ereport(ERROR,
6868
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
69-
errmsg("database isshut down to avoid wraparound data loss in database \"%s\"",
69+
errmsg("database isnot accepting queries to avoid wraparound data loss in database \"%s\"",
7070
NameStr(ShmemVariableCache->limit_datname)),
71-
errhint("Stop the postmaster and use a standalone backend to VACUUMin \"%s\".",
71+
errhint("Stop the postmaster and use a standalone backend to VACUUMdatabase \"%s\".",
7272
NameStr(ShmemVariableCache->limit_datname))));
7373
else
7474
ereport(WARNING,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp