Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59c8415

Browse files
committed
Change wording of logged message when cancelling an autovacuum task, using
american speling (unlike this commit message). Per complaint from Mike C. onbug #3790 and subsequent discussion.
1 parent53e99f5 commit59c8415

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.538 2007/11/15 21:14:38 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.539 2007/12/0614:32:54 alvherre Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -2578,6 +2578,10 @@ ProcessInterrupts(void)
25782578
ereport(ERROR,
25792579
(errcode(ERRCODE_QUERY_CANCELED),
25802580
errmsg("canceling statement due to statement timeout")));
2581+
elseif (IsAutoVacuumWorkerProcess())
2582+
ereport(ERROR,
2583+
(errcode(ERRCODE_QUERY_CANCELED),
2584+
errmsg("canceling autovacuum task")));
25812585
else
25822586
ereport(ERROR,
25832587
(errcode(ERRCODE_QUERY_CANCELED),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp