@@ -776,9 +776,6 @@ typedef union PgStat_Msg
776776
777777#define PGSTAT_FILE_FORMAT_ID 0x01A5BCA6
778778
779- /*
780- * Archiver statistics kept in the stats collector
781- */
782779typedef struct PgStat_ArchiverStats
783780{
784781 PgStat_Counter archived_count ; /* archival successes */
@@ -792,9 +789,6 @@ typedef struct PgStat_ArchiverStats
792789 TimestampTz stat_reset_timestamp ;
793790} PgStat_ArchiverStats ;
794791
795- /*
796- * Background writer statistics kept in the stats collector
797- */
798792typedef struct PgStat_BgWriterStats
799793{
800794 PgStat_Counter buf_written_clean ;
@@ -803,9 +797,6 @@ typedef struct PgStat_BgWriterStats
803797 TimestampTz stat_reset_timestamp ;
804798} PgStat_BgWriterStats ;
805799
806- /*
807- * Checkpointer statistics kept in the stats collector
808- */
809800typedef struct PgStat_CheckpointerStats
810801{
811802 TimestampTz stats_timestamp ; /* time of stats file update */
@@ -818,10 +809,6 @@ typedef struct PgStat_CheckpointerStats
818809 PgStat_Counter buf_fsync_backend ;
819810} PgStat_CheckpointerStats ;
820811
821- /* ----------
822- * PgStat_StatDBEntry The collector's data per database
823- * ----------
824- */
825812typedef struct PgStat_StatDBEntry
826813{
827814 Oid databaseid ;
@@ -866,10 +853,6 @@ typedef struct PgStat_StatDBEntry
866853 HTAB * functions ;
867854} PgStat_StatDBEntry ;
868855
869- /* ----------
870- * PgStat_StatFuncEntry The collector's data per function
871- * ----------
872- */
873856typedef struct PgStat_StatFuncEntry
874857{
875858 Oid functionid ;
@@ -880,9 +863,6 @@ typedef struct PgStat_StatFuncEntry
880863 PgStat_Counter f_self_time ;
881864} PgStat_StatFuncEntry ;
882865
883- /*
884- * Global statistics kept in the stats collector
885- */
886866typedef struct PgStat_GlobalStats
887867{
888868 TimestampTz stats_timestamp ; /* time of stats file update */
@@ -891,9 +871,6 @@ typedef struct PgStat_GlobalStats
891871 PgStat_BgWriterStats bgwriter ;
892872} PgStat_GlobalStats ;
893873
894- /*
895- * Replication slot statistics kept in the stats collector
896- */
897874typedef struct PgStat_StatReplSlotEntry
898875{
899876 NameData slotname ;
@@ -908,9 +885,6 @@ typedef struct PgStat_StatReplSlotEntry
908885 TimestampTz stat_reset_timestamp ;
909886} PgStat_StatReplSlotEntry ;
910887
911- /*
912- * SLRU statistics kept in the stats collector
913- */
914888typedef struct PgStat_SLRUStats
915889{
916890 PgStat_Counter blocks_zeroed ;
@@ -923,9 +897,6 @@ typedef struct PgStat_SLRUStats
923897 TimestampTz stat_reset_timestamp ;
924898} PgStat_SLRUStats ;
925899
926- /*
927- * Subscription statistics kept in the stats collector.
928- */
929900typedef struct PgStat_StatSubEntry
930901{
931902 Oid subid ; /* hash key (must be first) */
@@ -935,10 +906,6 @@ typedef struct PgStat_StatSubEntry
935906 TimestampTz stat_reset_timestamp ;
936907} PgStat_StatSubEntry ;
937908
938- /* ----------
939- * PgStat_StatTabEntry The collector's data per table (or index)
940- * ----------
941- */
942909typedef struct PgStat_StatTabEntry
943910{
944911 Oid tableid ;
@@ -971,9 +938,6 @@ typedef struct PgStat_StatTabEntry
971938 PgStat_Counter autovac_analyze_count ;
972939} PgStat_StatTabEntry ;
973940
974- /*
975- * WAL statistics kept in the stats collector
976- */
977941typedef struct PgStat_WalStats
978942{
979943 PgStat_Counter wal_records ;
0 commit comments