LCOV - differential code coverage report
Current view: top level - src/backend/parser - parse_enr.c (source / functions) Coverage Total Hit CBC
Current: Differential Code Coverage HEAD vs 15 Lines: 100.0 % 4 4 4
Current Date: 2023-04-08 15:15:32 Functions: 100.0 % 2 2 2
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

           TLA  Line data    Source code
       1                 : /*-------------------------------------------------------------------------
       2                 :  *
       3                 :  * parse_enr.c
       4                 :  *    parser support routines dealing with ephemeral named relations
       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/parser/parse_enr.c
      12                 :  *
      13                 :  *-------------------------------------------------------------------------
      14                 :  */
      15                 : #include "postgres.h"
      16                 : 
      17                 : #include "parser/parse_enr.h"
      18                 : 
      19                 : bool
      20 CBC      250067 : name_matches_visible_ENR(ParseState *pstate, const char *refname)
      21                 : {
      22          250067 :     return (get_visible_ENR_metadata(pstate->p_queryEnv, refname) != NULL);
      23                 : }
      24                 : 
      25                 : EphemeralNamedRelationMetadata
      26             222 : get_visible_ENR(ParseState *pstate, const char *refname)
      27                 : {
      28             222 :     return get_visible_ENR_metadata(pstate->p_queryEnv, refname);
      29                 : }
        

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