diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-04-03 19:32:21 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-04-03 19:32:21 +0300 |
commit | 26d138f64474394cf1e573384e8f38efa637b674 (patch) | |
tree | d00fc7b7f0e260765a6d61a4054a2a1d5d5532cc /src/backend/access/heap/heapam_handler.c | |
parent | be2f0731006300876b008fd78a265471984cbcd9 (diff) |
Refactor how heap_prune_chain() updates prunable_xid
In preparation of freezing and counting tuples which are not
candidates for pruning, split heap_prune_record_unchanged() into
multiple functions, depending the kind of line pointer. That's not too
interesting right now, but makes the next commit smaller.
Recording the lowest soon-to-be prunable xid is one of the actions we
take for unchanged LP_NORMAL item pointers but not for others, so move
that to the new heap_prune_record_unchanged_lp_normal() function. The
next commit will add more actions to these functions.
Author: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://www.postgresql.org/message-id/20240330055710.kqg6ii2cdojsxgje@liskov
Diffstat (limited to 'src/backend/access/heap/heapam_handler.c')
0 files changed, 0 insertions, 0 deletions