Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Remove redundant declaration for XidInMVCCSnapshot
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 9 Nov 2022 17:27:31 +0000 (18:27 +0100)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 9 Nov 2022 17:30:09 +0000 (18:30 +0100)
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 <japinli@hotmail.com>
Discussion: https://postgr.es/m/MEYP282MB16693A409F3282A9DB287BADB63E9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM

src/include/access/heapam.h

index 9dab35551e11fb83e94b75b45953a3f964f5f844..5b078757404e99c492f8f4585bf50bcfc735c2ba 100644 (file)
@@ -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);