aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeProjectSet.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-04-06 23:35:56 -0700
committerAndres Freund <andres@anarazel.de>2022-04-06 23:35:56 -0700
commit5e07d3d6bdbff998eb68c131ecd10c448b026e47 (patch)
treedd5f0831c35b060c5bfd75c5ac38ade1e69300f4 /src/backend/executor/nodeProjectSet.c
parent81ae9e65887476b4c55aaad276a8010a459a41ce (diff)
downloadpostgresql-5e07d3d6bdbff998eb68c131ecd10c448b026e47.tar.gz
postgresql-5e07d3d6bdbff998eb68c131ecd10c448b026e47.zip
pgstat: fix small bug in pgstat_drop_relation().
Just after committing 5891c7a8ed8, 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.
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions