LCOV - differential code coverage report
Current view: top level - src/include/utils - xid8.h (source / functions) Coverage Total Hit GNC ECB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 100.0 % 4 4 4 3 1
Current Date: 2023-04-08 17:13:01 Functions: 100.0 % 2 2 2 1 1
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 (180,240] days: 100.0 % 4 4 4
Legend: Lines: hit not hit Function coverage date bins:
(180,240] days: 100.0 % 2 2 2

 Age         Owner                  TLA  Line data    Source code
                                  1                 : /*-------------------------------------------------------------------------
                                  2                 :  *
                                  3                 :  * xid8.h
                                  4                 :  *    Header file for the "xid8" ADT.
                                  5                 :  *
                                  6                 :  * Copyright (c) 2020-2023, PostgreSQL Global Development Group
                                  7                 :  *
                                  8                 :  * src/include/utils/xid8.h
                                  9                 :  *
                                 10                 :  *-------------------------------------------------------------------------
                                 11                 :  */
                                 12                 : #ifndef XID8_H
                                 13                 : #define XID8_H
                                 14                 : 
                                 15                 : #include "access/transam.h"
                                 16                 : 
                                 17                 : static inline FullTransactionId
  194 peter                      18 GNC        1917 : DatumGetFullTransactionId(Datum X)
                                 19                 : {
                                 20            1917 :     return FullTransactionIdFromU64(DatumGetUInt64(X));
                                 21                 : }
                                 22                 : 
                                 23                 : static inline Datum
                                 24            3598 : FullTransactionIdGetDatum(FullTransactionId X)
                                 25                 : {
                                 26            3598 :     return UInt64GetDatum(U64FromFullTransactionId(X));
                                 27                 : }
                                 28                 : 
                                 29                 : #define PG_GETARG_FULLTRANSACTIONID(X) DatumGetFullTransactionId(PG_GETARG_DATUM(X))
 1097 tmunro                     30 ECB             : #define PG_RETURN_FULLTRANSACTIONID(X) return FullTransactionIdGetDatum(X)
                                 31                 : 
                                 32                 : #endif                          /* XID8_H */
        

Generated by: LCOV version v1.16-55-g56c0a2a