> it would be better to verify that the stats of the specified sequence are > actually reset by using pg_stat_reset_single_table_counters(). > > Also, the documentation for pg_stat_reset_single_table_counters() should > mention that it can reset sequence statistics as well.
good points. For the documentation of pg_stat_reset_single_table_counters(), I also mentioned materialized views for completeness. -- Sami Imseih Amazon Web Services (AWS)
v2-0001-Add-stats_reset-column-to-pg_statio_all_sequences.patch
Description: Binary data
