From ff0d8f27f4d97c8e34ac5df19d0f232fb2f53744 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 9 Nov 2022 18:27:31 +0100 Subject: [PATCH] Remove redundant declaration for XidInMVCCSnapshot This was added for no good reason by c91560defc57, after b7eda3e0e334 had just moved the prototype from utils/tqual.h to utils/snapmgr.h. Author: Japin Li Discussion: https://postgr.es/m/MEYP282MB16693A409F3282A9DB287BADB63E9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM --- src/include/access/heapam.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h index 9dab35551e..5b07875740 100644 --- a/src/include/access/heapam.h +++ b/src/include/access/heapam.h @@ -213,7 +213,6 @@ extern HTSV_Result HeapTupleSatisfiesVacuumHorizon(HeapTuple htup, Buffer buffer extern void HeapTupleSetHintBits(HeapTupleHeader tuple, Buffer buffer, uint16 infomask, TransactionId xid); extern bool HeapTupleHeaderIsOnlyLocked(HeapTupleHeader tuple); -extern bool XidInMVCCSnapshot(TransactionId xid, Snapshot snapshot); extern bool HeapTupleIsSurelyDead(HeapTuple htup, struct GlobalVisState *vistest);