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

Commit55cdba2

Browse files
committed
Fix a leftover reference to backend_id in comment
Commit024c521 replaced backend_id with proc_number.Reported-by: Alexander Lakhin
1 parent59825d1 commit55cdba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,8 +1101,8 @@ pgstat_get_local_beentry_by_proc_number(ProcNumber procNumber)
11011101
pgstat_read_current_status();
11021102

11031103
/*
1104-
* Since the localBackendStatusTable is in order bybackend_id, we can use
1105-
* bsearch() to search it efficiently.
1104+
* Since the localBackendStatusTable is in order byproc_number, we can
1105+
*usebsearch() to search it efficiently.
11061106
*/
11071107
key.proc_number=procNumber;
11081108
returnbsearch(&key,localBackendStatusTable,localNumBackends,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp