Thread: pgsql: Update obsolete heap pruning comments.

pgsql: Update obsolete heap pruning comments.

From
Peter Geoghegan
Date:
Update obsolete heap pruning comments.

Add new comments that spell out what VACUUM expects from heap pruning:
pruning must never leave behind DEAD tuples that still have tuple
storage.  This has at least been the case since commit 8523492d, which
established the principle that vacuumlazy.c doesn't have to deal with
DEAD tuples that still have tuple storage directly, except perhaps by
simply retrying pruning (to handle a rare corner case involving
concurrent transaction abort).

In passing, update some references to old symbol names that were missed
by the snapshot scalability work (specifically commit dc7420c2c9).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f214960adde6028a39ba3014b1ab2b224faeefed

Modified Files
--------------
src/backend/access/heap/pruneheap.c | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)