projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d723f
)
Change wording of logged message when cancelling an autovacuum task, using
author
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Thu, 6 Dec 2007 14:32:54 +0000
(14:32 +0000)
committer
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Thu, 6 Dec 2007 14:32:54 +0000
(14:32 +0000)
american speling (unlike this commit message). Per complaint from Mike C. on
bug #3790 and subsequent discussion.
src/backend/tcop/postgres.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/tcop/postgres.c
b/src/backend/tcop/postgres.c
index 8484e5f91bc81b18b55090fc53474b05f2873f74..66538c166d40c44f47741232fdd2e26c9a48766f 100644
(file)
--- a/
src/backend/tcop/postgres.c
+++ b/
src/backend/tcop/postgres.c
@@
-2578,6
+2578,10
@@
ProcessInterrupts(void)
ereport(ERROR,
(errcode(ERRCODE_QUERY_CANCELED),
errmsg("canceling statement due to statement timeout")));
+ else if (IsAutoVacuumWorkerProcess())
+ ereport(ERROR,
+ (errcode(ERRCODE_QUERY_CANCELED),
+ errmsg("canceling autovacuum task")));
else
ereport(ERROR,
(errcode(ERRCODE_QUERY_CANCELED),