diff options
author | Peter Geoghegan <pg@bowt.ie> | 2021-08-31 14:59:52 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2021-08-31 14:59:52 -0700 |
commit | 47029f775adf83796fecb5871ce52488996a7969 (patch) | |
tree | abcd72acf6cd62d2be44a5584da6a2b4fe09daae /src/backend/utils/adt/ruleutils.c | |
parent | aec5cc9efda00f7f418c9a068c92cab119602084 (diff) | |
download | postgresql-47029f775adf83796fecb5871ce52488996a7969.tar.gz postgresql-47029f775adf83796fecb5871ce52488996a7969.zip |
Remove unneeded old_rel_pages VACUUM state field.
The field hasn't been used since commit 3d351d91, which redefined
pg_class.reltuples to be -1 before the first VACUUM or ANALYZE.
Also rename a local variable of the same name ("old_rel_pages"). This is
used by relation truncation to represent the original relation size at
the start of the ongoing VACUUM operation. Rename it to orig_rel_pages,
since that's a lot clearer. (This name matches similar nearby code.)
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions