[MASSMAIL]pgsql: Refactor how heap_prune_chain() updates prunable_xid
В списке pgsql-committers по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | [MASSMAIL]pgsql: Refactor how heap_prune_chain() updates prunable_xid |
| Дата | |
| Msg-id | E1rs3ZH-000KAx-R8@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/26d138f64474394cf1e573384e8f38efa637b674 Modified Files -------------- src/backend/access/heap/pruneheap.c | 125 ++++++++++++++++++++++++++---------- 1 file changed, 92 insertions(+), 33 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера