vacuumlazy.c: Standardize rel_pages terminology.
commite370f100f05d77eec258fb430009c16c0e315065
authorPeter Geoghegan <pg@bowt.ie>
Sat, 12 Mar 2022 21:20:45 +0000 (12 13:20 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Sat, 12 Mar 2022 21:20:45 +0000 (12 13:20 -0800)
tree4c4147fe77ff60853e7d0f6362c2dd66e8be784b
parent73f6ec3d3c8d5786c54373e71a096e5acf78e7ca
vacuumlazy.c: Standardize rel_pages terminology.

VACUUM's rel_pages field indicates the size of the target heap rel just
after the table_relation_vacuum() operation began.  There are specific
expectations around how rel_pages can be related to other nearby state.
In particular, the range of rel_pages must contain every tuple in the
relation whose tuple headers might contain an XID < OldestXmin.

Consistently refer to the field as rel_pages to make this clearer and
more discoverable.

This is follow-up work to commit 73f6ec3d from earlier today.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-By: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20220311031351.sbge5m2bpvy2ttxg@alap3.anarazel.de
src/backend/access/heap/vacuumlazy.c