aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2022-02-24 19:01:54 -0800
committerPeter Geoghegan <pg@bowt.ie>2022-02-24 19:01:54 -0800
commit73c61a50a1555007001d29844dcdb10b4f982a73 (patch)
treef94ab6292f0868c73d34e4d6642cedfa03070ef2 /src/backend/utils/adt/numeric.c
parent22eb12cfff3e842bb35427e1ec819d64daabd5a1 (diff)
downloadpostgresql-73c61a50a1555007001d29844dcdb10b4f982a73.tar.gz
postgresql-73c61a50a1555007001d29844dcdb10b4f982a73.zip
vacuumlazy.c: Remove obsolete num_tuples field.
Commit 49c9d9fc unified VACUUM VERBOSE and autovacuum logging. It neglected to remove an old vacrel field that was only used by the old VACUUM VERBOSE, so remove it now. The previous num_tuples approach doesn't seem to have any real advantage over the approach VACUUM VERBOSE takes now (also the approach used by the autovacuum logging code), which is to show new_rel_tuples. new_rel_tuples is the possibly-estimated total number of tuples left in the table, whereas num_tuples meant the number of tuples encountered during the VACUUM operation, after pruning, without regard for tuples from pages skipped via the visibility map. In passing, reorder a related vacrel field for consistency.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions