diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-04-05 00:42:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-04-05 00:42:24 +0000 |
commit | 80390f493a612a135157ee05cfd1945d234753ce (patch) | |
tree | cf3c71d2dec91ae338f10fe6ba14bb50087b8a6c /src/backend/commands/async.c | |
parent | 87ecae72bab970fc625b5599cc17d93151ae66ac (diff) | |
download | postgresql-80390f493a612a135157ee05cfd1945d234753ce.tar.gz postgresql-80390f493a612a135157ee05cfd1945d234753ce.zip |
Improve phrasing of warning message for NOTIFY queue getting too full.
Per gripe from Peter.
Diffstat (limited to 'src/backend/commands/async.c')
-rw-r--r-- | src/backend/commands/async.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c index 11c84e7f3c8..d3bb8d492f2 100644 --- a/src/backend/commands/async.c +++ b/src/backend/commands/async.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.155 2010/02/26 02:00:37 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.156 2010/04/05 00:42:24 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1421,12 +1421,12 @@ asyncQueueFillWarning(void) } ereport(WARNING, - (errmsg("pg_notify queue is %.0f%% full", fillDegree * 100), + (errmsg("NOTIFY queue is %.0f%% full", fillDegree * 100), (minPid != InvalidPid ? - errdetail("PID %d is among the slowest backends.", minPid) + errdetail("The server process with PID %d is among those with the oldest transactions.", minPid) : 0), (minPid != InvalidPid ? - errhint("Cleanup can only proceed if this backend ends its current transaction.") + errhint("The NOTIFY queue cannot be emptied until that process ends its current transaction.") : 0))); asyncQueueControl->lastQueueFillWarn = t; |