diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c
index 14d1c08..a5d00fc 100644
*** a/src/backend/commands/vacuum.c
--- b/src/backend/commands/vacuum.c
*************** vacuum(VacuumStmt *vacstmt, Oid relid, b
*** 251,256 ****
--- 251,257 ----
  				{
  					PopActiveSnapshot();
  					CommitTransactionCommand();
+ 					pgstat_report_stat(false);
  				}
  			}
  		}
*************** vacuum_rel(Oid relid, VacuumStmt *vacstm
*** 1071,1080 ****
  		relation_close(onerel, NoLock);
  
  	/*
! 	 * Complete the transaction and free all temporary memory used.
  	 */
  	PopActiveSnapshot();
  	CommitTransactionCommand();
  
  	/*
  	 * If the relation has a secondary toast rel, vacuum that too while we
--- 1072,1083 ----
  		relation_close(onerel, NoLock);
  
  	/*
! 	 * Complete the transaction and free all temporary memory used.  Also,
! 	 * flush table-access statistics to the stats collector after each table.
  	 */
  	PopActiveSnapshot();
  	CommitTransactionCommand();
+ 	pgstat_report_stat(false);
  
  	/*
  	 * If the relation has a secondary toast rel, vacuum that too while we
