pgsql: Update obsolete heap pruning comments. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Update obsolete heap pruning comments.
Date
Msg-id E1mj6TH-00025X-9R@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Change ThisTimeLineID from a global variable to a local variable
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Change ThisTimeLineID from a global variable to a local variable