pgsql: Update obsolete heap pruning comments.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Update obsolete heap pruning comments.
Дата
Msg-id E1mj6TH-00025X-9R@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Change ThisTimeLineID from a global variable to a local variable
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Change ThisTimeLineID from a global variable to a local variable