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

Commit7aa4164

Browse files
committed
Mark autovacuum entries in pg_stat_activity so that they can be easily
distinguished from user-invoked commands. Per suggestion from Tom Lane.
1 parent1460c82 commit7aa4164

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/postmaster/autovacuum.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*
5656
*
5757
* IDENTIFICATION
58-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.70 2008/01/01 19:45:51 momjian Exp $
58+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.71 2008/01/14 13:39:25 alvherre Exp $
5959
*
6060
*-------------------------------------------------------------------------
6161
*/
@@ -2658,11 +2658,11 @@ autovac_report_activity(VacuumStmt *vacstmt, Oid relid)
26582658
/* Report the command and possible options */
26592659
if (vacstmt->vacuum)
26602660
snprintf(activity,MAX_AUTOVAC_ACTIV_LEN,
2661-
"VACUUM%s",
2661+
"autovacuum:VACUUM%s",
26622662
vacstmt->analyze ?" ANALYZE" :"");
26632663
else
26642664
snprintf(activity,MAX_AUTOVAC_ACTIV_LEN,
2665-
"ANALYZE");
2665+
"autovacuum:ANALYZE");
26662666

26672667
/*
26682668
* Report the qualified name of the relation.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp