mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Update query cancel message:
errmsg("canceling query due to user request or statement timeout")));
This commit is contained in:
@ -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)
|
|||||||
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) */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user