LCOV - code coverage report
Current view: top level - src/backend/utils/adt - version.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 100.0 % 2 2
Test Date: 2026-01-26 10:56:24 Functions: 100.0 % 1 1
Legend: Lines:     hit not hit

            Line data    Source code
       1              : /*-------------------------------------------------------------------------
       2              :  *
       3              :  * version.c
       4              :  *       Returns the PostgreSQL version string
       5              :  *
       6              :  * Copyright (c) 1998-2026, PostgreSQL Global Development Group
       7              :  *
       8              :  * IDENTIFICATION
       9              :  *
      10              :  * src/backend/utils/adt/version.c
      11              :  *
      12              :  *-------------------------------------------------------------------------
      13              :  */
      14              : 
      15              : #include "postgres.h"
      16              : 
      17              : #include "utils/builtins.h"
      18              : 
      19              : 
      20              : Datum
      21            4 : pgsql_version(PG_FUNCTION_ARGS)
      22              : {
      23            4 :         PG_RETURN_TEXT_P(cstring_to_text(PG_VERSION_STR));
      24              : }
        

Generated by: LCOV version 2.3.2-1