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

Commitfee2b3e

Browse files
committed
Tweak some comments related to variable-numbered stats in pgstat.c
These comments referred to database objects, but depending on the statskind dealt with this may not be true.Issues found while reviewing a different patch in this area.Discussion:https://postgr.es/m/ZtXR+CtkEVVE/LHF@ip-10-97-1-34.eu-west-3.compute.internal
1 parent0f23ded commitfee2b3e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/backend/utils/activity/pgstat.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ pgstat_report_stat(bool force)
768768

769769
partial_flush= false;
770770

771-
/* flushdatabase / relation / function / ... stats */
771+
/* flushof variable-numbered stats */
772772
partial_flush |=pgstat_flush_pending_entries(nowait);
773773

774774
/* flush of fixed-numbered stats */
@@ -1342,8 +1342,7 @@ pgstat_delete_pending_entry(PgStat_EntryRef *entry_ref)
13421342
}
13431343

13441344
/*
1345-
* Flush out pending stats for database objects (databases, relations,
1346-
* functions).
1345+
* Flush out pending variable-numbered stats.
13471346
*/
13481347
staticbool
13491348
pgstat_flush_pending_entries(boolnowait)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp