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

Commitef4cfdc

Browse files
committed
Fix references to renamed function in comments
I renamed the function in commit024c521, but missed thesecomments.Reported-by: Richard GuoDiscussion:https://www.postgresql.org/message-id/CAMbWs4-jR6qc7JRMKwz-zXQy_AYLUZ3PHjGep4B91of321cqWw@mail.gmail.com
1 parente033491 commitef4cfdc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ pgstat_read_current_status(void)
831831
/*
832832
* The BackendStatusArray index is exactly the ProcNumber of the
833833
* source backend. Note that this means localBackendStatusTable
834-
* is in order by proc_number.pgstat_get_beentry_by_backend_id()
834+
* is in order by proc_number.pgstat_get_beentry_by_proc_number()
835835
* depends on that.
836836
*/
837837
localentry->proc_number=procNumber;
@@ -1113,11 +1113,11 @@ pgstat_get_local_beentry_by_proc_number(ProcNumber procNumber)
11131113
/* ----------
11141114
* pgstat_get_local_beentry_by_index() -
11151115
*
1116-
*Likepgstat_get_beentry_by_backend_id() but with locally computed additions
1117-
*(like xid and xmin values of the backend)
1116+
*Likepgstat_get_beentry_by_proc_number() but with locally computed
1117+
*additions(like xid and xmin values of the backend)
11181118
*
11191119
*The idx argument is a 1-based index in the localBackendStatusTable
1120-
*(note that this is unlikepgstat_get_beentry_by_backend_id()).
1120+
*(note that this is unlikepgstat_get_beentry_by_proc_number()).
11211121
*Returns NULL if the argument is out of range (no current caller does that).
11221122
*
11231123
*NB: caller is responsible for a check if the user is permitted to see

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp