File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/backend/utils/activity Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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- * Like pgstat_get_beentry_by_backend_id () but with locally computed additions
1117- * (like xid and xmin values of the backend)
1116+ * Like pgstat_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 unlike pgstat_get_beentry_by_backend_id ()).
1120+ * (note that this is unlike pgstat_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
You can’t perform that action at this time.
0 commit comments