From e1025044cd4e7f33f7304aed54d5778b8a82cd5d Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 3 Apr 2021 11:42:52 -0700 Subject: Split backend status and progress related functionality out of pgstat.c. Backend status (supporting pg_stat_activity) and command progress (supporting pg_stat_progress*) related code is largely independent from the rest of pgstat.[ch] (supporting views like pg_stat_all_tables that accumulate data over time). See also a333476b925. This commit doesn't rename the function names to make the distinction from the rest of pgstat_ clearer - that'd be more invasive and not clearly beneficial. If we were to decide to do such a rename at some point, it's better done separately from moving the code as well. Robert's review was of an earlier version. Reviewed-By: Robert Haas Discussion: https://postgr.es/m/20210316195440.twxmlov24rr2nxrg@alap3.anarazel.de --- src/include/commands/progress.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/commands') diff --git a/src/include/commands/progress.h b/src/include/commands/progress.h index c6b139d57d3..d7bf16368bd 100644 --- a/src/include/commands/progress.h +++ b/src/include/commands/progress.h @@ -2,7 +2,7 @@ * * progress.h * Constants used with the progress reporting facilities defined in - * pgstat.h. These are possibly interesting to extensions, so we + * backend_status.h. These are possibly interesting to extensions, so we * expose them via this header file. Note that if you update these * constants, you probably also need to update the views based on them * in system_views.sql. -- cgit v1.2.3