@@ -3245,14 +3245,13 @@ pgstat_get_tab_entry(PgStat_StatDBEntry *dbentry, Oid tableoid, bool create)
3245
3245
result -> changes_since_analyze = 0 ;
3246
3246
result -> blocks_fetched = 0 ;
3247
3247
result -> blocks_hit = 0 ;
3248
-
3249
3248
result -> vacuum_timestamp = 0 ;
3250
- result -> autovac_vacuum_timestamp = 0 ;
3251
- result -> analyze_timestamp = 0 ;
3252
- result -> autovac_analyze_timestamp = 0 ;
3253
3249
result -> vacuum_count = 0 ;
3250
+ result -> autovac_vacuum_timestamp = 0 ;
3254
3251
result -> autovac_vacuum_count = 0 ;
3252
+ result -> analyze_timestamp = 0 ;
3255
3253
result -> analyze_count = 0 ;
3254
+ result -> autovac_analyze_timestamp = 0 ;
3256
3255
result -> autovac_analyze_count = 0 ;
3257
3256
}
3258
3257
@@ -3928,9 +3927,13 @@ pgstat_recv_tabstat(PgStat_MsgTabstat *msg, int len)
3928
3927
tabentry -> blocks_hit = tabmsg -> t_counts .t_blocks_hit ;
3929
3928
3930
3929
tabentry -> vacuum_timestamp = 0 ;
3930
+ tabentry -> vacuum_count = 0 ;
3931
3931
tabentry -> autovac_vacuum_timestamp = 0 ;
3932
+ tabentry -> autovac_vacuum_count = 0 ;
3932
3933
tabentry -> analyze_timestamp = 0 ;
3934
+ tabentry -> analyze_count = 0 ;
3933
3935
tabentry -> autovac_analyze_timestamp = 0 ;
3936
+ tabentry -> autovac_analyze_count = 0 ;
3934
3937
}
3935
3938
else
3936
3939
{
@@ -4149,9 +4152,11 @@ pgstat_recv_resetsinglecounter(PgStat_MsgResetsinglecounter *msg, int len)
4149
4152
4150
4153
/* Remove object if it exists, ignore it if not */
4151
4154
if (msg -> m_resettype == RESET_TABLE )
4152
- (void ) hash_search (dbentry -> tables , (void * ) & (msg -> m_objectid ), HASH_REMOVE , NULL );
4155
+ (void ) hash_search (dbentry -> tables , (void * ) & (msg -> m_objectid ),
4156
+ HASH_REMOVE , NULL );
4153
4157
else if (msg -> m_resettype == RESET_FUNCTION )
4154
- (void ) hash_search (dbentry -> functions , (void * ) & (msg -> m_objectid ), HASH_REMOVE , NULL );
4158
+ (void ) hash_search (dbentry -> functions , (void * ) & (msg -> m_objectid ),
4159
+ HASH_REMOVE , NULL );
4155
4160
}
4156
4161
4157
4162
/* ----------
0 commit comments