File tree 1 file changed +4
-4
lines changed
src/backend/utils/activity
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)
831
831
/*
832
832
* The BackendStatusArray index is exactly the ProcNumber of the
833
833
* 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 ()
835
835
* depends on that.
836
836
*/
837
837
localentry -> proc_number = procNumber ;
@@ -1113,11 +1113,11 @@ pgstat_get_local_beentry_by_proc_number(ProcNumber procNumber)
1113
1113
/* ----------
1114
1114
* pgstat_get_local_beentry_by_index() -
1115
1115
*
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)
1118
1118
*
1119
1119
* 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 ()).
1121
1121
* Returns NULL if the argument is out of range (no current caller does that).
1122
1122
*
1123
1123
* 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