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

Commit80390f4

Browse files
committed
Improve phrasing of warning message for NOTIFY queue getting too full.
Per gripe from Peter.
1 parent87ecae7 commit80390f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/commands/async.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.155 2010/02/26 02:00:37 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.156 2010/04/0500:42:24 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1421,12 +1421,12 @@ asyncQueueFillWarning(void)
14211421
}
14221422

14231423
ereport(WARNING,
1424-
(errmsg("pg_notify queue is %.0f%% full",fillDegree*100),
1424+
(errmsg("NOTIFY queue is %.0f%% full",fillDegree*100),
14251425
(minPid!=InvalidPid ?
1426-
errdetail("PID %d is among theslowest backends.",minPid)
1426+
errdetail("The server process withPID %d is amongthose withtheoldest transactions.",minPid)
14271427
:0),
14281428
(minPid!=InvalidPid ?
1429-
errhint("Cleanup can only proceed if this backend ends its current transaction.")
1429+
errhint("The NOTIFY queue cannot be emptied until that process ends its current transaction.")
14301430
:0)));
14311431

14321432
asyncQueueControl->lastQueueFillWarn=t;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp