Content-Length: 259728 | pFad | http://github.com/postgrespro/postgres/commit/55cdba2647ed6bbe1126c6b6d8f53e8602ec05a1

90 Fix a leftover reference to backend_id in comment · postgrespro/postgres@55cdba2 · GitHub
Skip to content

Commit 55cdba2

Browse files
committed
Fix a leftover reference to backend_id in comment
Commit 024c521 replaced backend_id with proc_number. Reported-by: Alexander Lakhin
1 parent 59825d1 commit 55cdba2

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 by backend_id, we can use
1105-
* bsearch() to search it efficiently.
1104+
* Since the localBackendStatusTable is in order by proc_number, we can
1105+
* use bsearch() to search it efficiently.
11061106
*/
11071107
key.proc_number = procNumber;
11081108
return bsearch(&key, localBackendStatusTable, localNumBackends,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/55cdba2647ed6bbe1126c6b6d8f53e8602ec05a1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy