nbtree README: Add note about latestRemovedXid.
authorPeter Geoghegan <pg@bowt.ie>
Fri, 24 Sep 2021 20:53:48 +0000 (13:53 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Fri, 24 Sep 2021 20:53:48 +0000 (13:53 -0700)
commit48064a8d330db259076fb7b2300544fbf65f4109
tree3ca29a4b046d640983c50845fc1bee612a3b51ff
parent73aa5e0cafd0d577fe464ed1d9ac317103f27ea4
nbtree README: Add note about latestRemovedXid.

Point out that index tuple deletion generally needs a latestRemovedXid
value for the deletion operation's WAL record.  This is bound to be the
most expensive part of the whole deletion operation now that it takes
place up front, during original execution.

This was arguably an oversight in commit 558a9165e08, which moved the
work required to generate these values from index deletion REDO routines
to original execution of index deletion operations.
src/backend/access/nbtree/README