LCOV - code coverage report
Current view: top level - src/test/modules/test_extensions - test_ext.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 100.0 % 5 5
Test Date: 2026-07-25 22:15:46 Functions: 100.0 % 3 3
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 50.0 % 2 1

             Branch data     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