Skip to content

Resolve conflicts in heapam.h, heapam_visibility.c and pruneheap.c#2441

Open
RekGRpth wants to merge 2 commits intosync-14x-b12from
sync-14x-b12-2
Open

Resolve conflicts in heapam.h, heapam_visibility.c and pruneheap.c#2441
RekGRpth wants to merge 2 commits intosync-14x-b12from
sync-14x-b12-2

Conversation

@RekGRpth
Copy link
Copy Markdown
Member

@RekGRpth RekGRpth commented May 4, 2026

  1. Commit dc7420c added a definition of the new function
    HeapTupleSatisfiesVacuumHorizon to src/include/access/heapam.h and
    changed the second argument in HeapTupleIsSurelyDead. However, an
    earlier commit 19cd1cf already added the third argument, Relation rel,
    to the function and moved the definition of the function
    XidInMVCCSnapshot to src/include/utils/snapmgr.h.

  2. Commit dc7420c in src/backend/access/heap/heapam_visibility.c
    rewrote the HeapTupleSatisfiesNonVacuumable function to use the new
    HeapTupleSatisfiesVacuumHorizon function. However, the earlier commit
    19cd1cf had already added the first argument, Relation, to the
    HeapTupleSatisfiesVacuum function.

  3. Commit dc7420c in src/backend/access/heap/pruneheap.c in the
    heap_prune_chain function replaced the call to the
    HeapTupleSatisfiesVacuum function with a call to the new
    heap_prune_satisfies_vacuum function. However, the earlier commit
    19cd1cf had already added the first argument, Relation, to the
    HeapTupleSatisfiesVacuum function.

RekGRpth added 2 commits May 4, 2026 11:45
1) Commit dc7420c added a definition of the new function
HeapTupleSatisfiesVacuumHorizon to src/include/access/heapam.h and
changed the second argument in HeapTupleIsSurelyDead. However, an
earlier commit 19cd1cf already added the third argument, Relation rel,
to the function and moved the definition of the function
XidInMVCCSnapshot to src/include/utils/snapmgr.h.

2) Commit dc7420c in src/backend/access/heap/heapam_visibility.c
rewrote the HeapTupleSatisfiesNonVacuumable function to use the new
HeapTupleSatisfiesVacuumHorizon function. However, the earlier commit
19cd1cf had already added the first argument, Relation, to the
HeapTupleSatisfiesVacuum function.

3) Commit dc7420c in src/backend/access/heap/pruneheap.c in the
heap_prune_chain function replaced the call to the
HeapTupleSatisfiesVacuum function with a call to the new
heap_prune_satisfies_vacuum function. However, the earlier commit
19cd1cf had already added the first argument, Relation, to the
HeapTupleSatisfiesVacuum function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant