mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
Fix a leftover reference to backend_id in comment
Commit 024c521117
replaced backend_id with proc_number.
Reported-by: Alexander Lakhin
This commit is contained in:
@ -1101,8 +1101,8 @@ pgstat_get_local_beentry_by_proc_number(ProcNumber procNumber)
|
||||
pgstat_read_current_status();
|
||||
|
||||
/*
|
||||
* Since the localBackendStatusTable is in order by backend_id, we can use
|
||||
* bsearch() to search it efficiently.
|
||||
* Since the localBackendStatusTable is in order by proc_number, we can
|
||||
* use bsearch() to search it efficiently.
|
||||
*/
|
||||
key.proc_number = procNumber;
|
||||
return bsearch(&key, localBackendStatusTable, localNumBackends,
|
||||
|
Reference in New Issue
Block a user