LCOV - code coverage report
Current view: top level - src/test/modules/test_extensions - test_ext.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 100.0 % 5 5
Test Date: 2026-03-24 07:17:40 Functions: 100.0 % 3 3
Legend: Lines:     hit not hit

            Line data    Source code
       1              : /*
       2              :  * test_ext.c
       3              :  *
       4              :  * Dummy C extension for testing extension_control_path with pg_upgrade
       5              :  *
       6              :  * Portions Copyright (c) 2026, PostgreSQL Global Development Group
       7              :  */
       8              : #include "postgres.h"
       9              : 
      10              : #include "fmgr.h"
      11              : 
      12            5 : PG_MODULE_MAGIC;
      13              : 
      14            4 : PG_FUNCTION_INFO_V1(test_ext);
      15              : 
      16              : Datum
      17            2 : test_ext(PG_FUNCTION_ARGS)
      18              : {
      19            2 :     ereport(NOTICE,
      20              :             (errmsg("running successful")));
      21            2 :     PG_RETURN_VOID();
      22              : }
        

Generated by: LCOV version 2.0-1