mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +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:
parent
59825d1639
commit
55cdba2647
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user