Commit 098d204a authored by Bruce Momjian's avatar Bruce Momjian

Update query cancel message:

   errmsg("canceling query due to user request or statement timeout")));
parent 1d734b79
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.458 2005/09/02 21:50:54 momjian Exp $ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.459 2005/09/16 19:31:04 momjian Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -2205,7 +2205,7 @@ ProcessInterrupts(void) ...@@ -2205,7 +2205,7 @@ ProcessInterrupts(void)
DisableCatchupInterrupt(); DisableCatchupInterrupt();
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_QUERY_CANCELED), (errcode(ERRCODE_QUERY_CANCELED),
errmsg("canceling query due to user request"))); errmsg("canceling query due to user request or statement timeout")));
} }
/* If we get here, do nothing (probably, QueryCancelPending was reset) */ /* If we get here, do nothing (probably, QueryCancelPending was reset) */
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment