LCOV - differential code coverage report
Current view: top level - src/backend/access/rmgrdesc - seqdesc.c (source / functions) Coverage Total Hit UBC
Current: Differential Code Coverage HEAD vs 15 Lines: 0.0 % 14 0 14
Current Date: 2023-04-08 17:13:01 Functions: 0.0 % 2 0 2
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 (180,240] days: 0.0 % 1 0 1
Legend: Lines: hit not hit (240..) days: 0.0 % 13 0 13
Function coverage date bins:
(240..) days: 0.0 % 2 0 2

 Age         Owner                  TLA  Line data    Source code
                                  1                 : /*-------------------------------------------------------------------------
                                  2                 :  *
                                  3                 :  * seqdesc.c
                                  4                 :  *    rmgr descriptor routines for commands/sequence.c
                                  5                 :  *
                                  6                 :  * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
                                  7                 :  * Portions Copyright (c) 1994, Regents of the University of California
                                  8                 :  *
                                  9                 :  *
                                 10                 :  * IDENTIFICATION
                                 11                 :  *    src/backend/access/rmgrdesc/seqdesc.c
                                 12                 :  *
                                 13                 :  *-------------------------------------------------------------------------
                                 14                 :  */
                                 15                 : #include "postgres.h"
                                 16                 : 
                                 17                 : #include "commands/sequence.h"
                                 18                 : 
                                 19                 : 
                                 20                 : void
 3062 heikki.linnakangas         21 UBC           0 : seq_desc(StringInfo buf, XLogReaderState *record)
                                 22                 : {
 3221                            23               0 :     char       *rec = XLogRecGetData(record);
 3062                            24               0 :     uint8       info = XLogRecGetInfo(record) & ~XLR_INFO_MASK;
 3784 alvherre                   25               0 :     xl_seq_rec *xlrec = (xl_seq_rec *) rec;
                                 26                 : 
                                 27               0 :     if (info == XLOG_SEQ_LOG)
  193 rhaas                      28               0 :         appendStringInfo(buf, "rel %u/%u/%u",
                                 29                 :                          xlrec->locator.spcOid, xlrec->locator.dbOid,
                                 30                 :                          xlrec->locator.relNumber);
 3124 andres                     31               0 : }
                                 32                 : 
                                 33                 : const char *
                                 34               0 : seq_identify(uint8 info)
                                 35                 : {
                                 36               0 :     const char *id = NULL;
                                 37                 : 
 3121                            38               0 :     switch (info & ~XLR_INFO_MASK)
                                 39                 :     {
 3124                            40               0 :         case XLOG_SEQ_LOG:
                                 41               0 :             id = "LOG";
                                 42               0 :             break;
                                 43                 :     }
                                 44                 : 
                                 45               0 :     return id;
                                 46                 : }
        

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