mirror of https://github.com/postgres/postgres
Just after committing 5891c7a8ed
, a test running with debug_discard_caches=1
failed locally...
pgstat_drop_relation() neither checked pgstat_should_count_relation() nor
called pgstat_prep_relation_pending(). With debug_discard_caches=1
rel->pgstat_info wasn't set up, leading pg_stat_get_xact_tuples_inserted()
spuriously still returning > 0 while in the transaction dropping the table.
pull/81/head
parent
81ae9e6588
commit
5e07d3d6bd
Loading…
Reference in new issue