From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Update obsolete heap pruning comments. |
Date: | 2021-11-05 21:09:59 |
Message-ID: | E1mj6TH-00025X-9R@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2021-11-06 00:17:33 | Re: pgsql: Change ThisTimeLineID from a global variable to a local variable |
Previous Message | Robert Haas | 2021-11-05 16:55:52 | pgsql: Change ThisTimeLineID from a global variable to a local variable |