@@ -776,9 +776,6 @@ typedef union PgStat_Msg
776
776
777
777
#define PGSTAT_FILE_FORMAT_ID 0x01A5BCA6
778
778
779
- /*
780
- * Archiver statistics kept in the stats collector
781
- */
782
779
typedef struct PgStat_ArchiverStats
783
780
{
784
781
PgStat_Counter archived_count ; /* archival successes */
@@ -792,9 +789,6 @@ typedef struct PgStat_ArchiverStats
792
789
TimestampTz stat_reset_timestamp ;
793
790
} PgStat_ArchiverStats ;
794
791
795
- /*
796
- * Background writer statistics kept in the stats collector
797
- */
798
792
typedef struct PgStat_BgWriterStats
799
793
{
800
794
PgStat_Counter buf_written_clean ;
@@ -803,9 +797,6 @@ typedef struct PgStat_BgWriterStats
803
797
TimestampTz stat_reset_timestamp ;
804
798
} PgStat_BgWriterStats ;
805
799
806
- /*
807
- * Checkpointer statistics kept in the stats collector
808
- */
809
800
typedef struct PgStat_CheckpointerStats
810
801
{
811
802
TimestampTz stats_timestamp ; /* time of stats file update */
@@ -818,10 +809,6 @@ typedef struct PgStat_CheckpointerStats
818
809
PgStat_Counter buf_fsync_backend ;
819
810
} PgStat_CheckpointerStats ;
820
811
821
- /* ----------
822
- * PgStat_StatDBEntry The collector's data per database
823
- * ----------
824
- */
825
812
typedef struct PgStat_StatDBEntry
826
813
{
827
814
Oid databaseid ;
@@ -866,10 +853,6 @@ typedef struct PgStat_StatDBEntry
866
853
HTAB * functions ;
867
854
} PgStat_StatDBEntry ;
868
855
869
- /* ----------
870
- * PgStat_StatFuncEntry The collector's data per function
871
- * ----------
872
- */
873
856
typedef struct PgStat_StatFuncEntry
874
857
{
875
858
Oid functionid ;
@@ -880,9 +863,6 @@ typedef struct PgStat_StatFuncEntry
880
863
PgStat_Counter f_self_time ;
881
864
} PgStat_StatFuncEntry ;
882
865
883
- /*
884
- * Global statistics kept in the stats collector
885
- */
886
866
typedef struct PgStat_GlobalStats
887
867
{
888
868
TimestampTz stats_timestamp ; /* time of stats file update */
@@ -891,9 +871,6 @@ typedef struct PgStat_GlobalStats
891
871
PgStat_BgWriterStats bgwriter ;
892
872
} PgStat_GlobalStats ;
893
873
894
- /*
895
- * Replication slot statistics kept in the stats collector
896
- */
897
874
typedef struct PgStat_StatReplSlotEntry
898
875
{
899
876
NameData slotname ;
@@ -908,9 +885,6 @@ typedef struct PgStat_StatReplSlotEntry
908
885
TimestampTz stat_reset_timestamp ;
909
886
} PgStat_StatReplSlotEntry ;
910
887
911
- /*
912
- * SLRU statistics kept in the stats collector
913
- */
914
888
typedef struct PgStat_SLRUStats
915
889
{
916
890
PgStat_Counter blocks_zeroed ;
@@ -923,9 +897,6 @@ typedef struct PgStat_SLRUStats
923
897
TimestampTz stat_reset_timestamp ;
924
898
} PgStat_SLRUStats ;
925
899
926
- /*
927
- * Subscription statistics kept in the stats collector.
928
- */
929
900
typedef struct PgStat_StatSubEntry
930
901
{
931
902
Oid subid ; /* hash key (must be first) */
@@ -935,10 +906,6 @@ typedef struct PgStat_StatSubEntry
935
906
TimestampTz stat_reset_timestamp ;
936
907
} PgStat_StatSubEntry ;
937
908
938
- /* ----------
939
- * PgStat_StatTabEntry The collector's data per table (or index)
940
- * ----------
941
- */
942
909
typedef struct PgStat_StatTabEntry
943
910
{
944
911
Oid tableid ;
@@ -971,9 +938,6 @@ typedef struct PgStat_StatTabEntry
971
938
PgStat_Counter autovac_analyze_count ;
972
939
} PgStat_StatTabEntry ;
973
940
974
- /*
975
- * WAL statistics kept in the stats collector
976
- */
977
941
typedef struct PgStat_WalStats
978
942
{
979
943
PgStat_Counter wal_records ;
0 commit comments