8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e99f5 commit 59c8415Copy full SHA for 59c8415
src/backend/tcop/postgres.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.538 2007/11/15 21:14:38 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.539 2007/12/06 14:32:54 alvherre Exp $
12
13
* NOTES
14
* this is the "main" module of the postgres backend and
@@ -2578,6 +2578,10 @@ ProcessInterrupts(void)
2578
ereport(ERROR,
2579
(errcode(ERRCODE_QUERY_CANCELED),
2580
errmsg("canceling statement due to statement timeout")));
2581
+ else if (IsAutoVacuumWorkerProcess())
2582
+ ereport(ERROR,
2583
+ (errcode(ERRCODE_QUERY_CANCELED),
2584
+ errmsg("canceling autovacuum task")));
2585
else
2586
2587
0 commit comments