LCOV - differential code coverage report
Current view: top level - src/include/postmaster - proctypelist.h Coverage Total Hit GNC
Current: a2387c32f2f8a1643c7d71b951587e6bcb2d4744 vs 371a302eecdc82274b0ae2967d18fd726a0aa6a1 Lines: 100.0 % 18 18 18
Current Date: 2025-10-26 12:31:50 -0700 Functions: - 0 0
Baseline: lcov-20251027-010456-baseline Line coverage date bins:
Baseline Date: 2025-10-26 11:01:32 +1300 (30,360] days: 100.0 % 18 18 18
Legend: Lines:     hit not hit

 Age         Owner                  TLA  Line data    Source code
                                  1                 : /*-------------------------------------------------------------------------
                                  2                 :  *
                                  3                 :  * proctypelist.h
                                  4                 :  *
                                  5                 :  * The list of process types is kept on its own source file for use by
                                  6                 :  * automatic tools.  The exact representation of a process type is
                                  7                 :  * determined by the PG_PROCTYPE macro, which is not defined in this
                                  8                 :  * file; it can be defined by the caller for special purposes.
                                  9                 :  *
                                 10                 :  * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
                                 11                 :  * Portions Copyright (c) 1994, Regents of the University of California
                                 12                 :  *
                                 13                 :  * IDENTIFICATION
                                 14                 :  *    src/include/postmaster/proctypelist.h
                                 15                 :  *
                                 16                 :  *-------------------------------------------------------------------------
                                 17                 :  */
                                 18                 : 
                                 19                 : /* there is deliberately not an #ifndef PROCTYPELIST_H here */
                                 20                 : 
                                 21                 : /*
                                 22                 :  * WAL senders start their life as regular backend processes, and change their
                                 23                 :  * type after authenticating the client for replication.  We list it here for
                                 24                 :  * PostmasterChildName() but cannot launch them directly.
                                 25                 :  */
                                 26                 : 
                                 27                 : /*
                                 28                 :  * List of process types (symbol, description, Main function, shmem_attach)
                                 29                 :  * entries.
                                 30                 :  */
                                 31                 : 
                                 32                 : 
                                 33                 : /* bktype, description, main_func, shmem_attach */
   31 alvherre@kurilemu.de       34 GNC          44 : PG_PROCTYPE(B_ARCHIVER, gettext_noop("archiver"), PgArchiverMain, true)
                                 35            1307 : PG_PROCTYPE(B_AUTOVAC_LAUNCHER, gettext_noop("autovacuum launcher"), AutoVacLauncherMain, true)
                                 36             353 : PG_PROCTYPE(B_AUTOVAC_WORKER, gettext_noop("autovacuum worker"), AutoVacWorkerMain, true)
                                 37          228993 : PG_PROCTYPE(B_BACKEND, gettext_noop("client backend"), BackendMain, true)
                                 38              76 : PG_PROCTYPE(B_BG_WORKER, gettext_noop("background worker"), BackgroundWorkerMain, true)
                                 39            1415 : PG_PROCTYPE(B_BG_WRITER, gettext_noop("background writer"), BackgroundWriterMain, true)
                                 40            5768 : PG_PROCTYPE(B_CHECKPOINTER, gettext_noop("checkpointer"), CheckpointerMain, true)
                                 41             345 : PG_PROCTYPE(B_DEAD_END_BACKEND, gettext_noop("dead-end client backend"), BackendMain, true)
                                 42             914 : PG_PROCTYPE(B_INVALID, gettext_noop("unrecognized"), NULL, false)
                                 43            4940 : PG_PROCTYPE(B_IO_WORKER, gettext_noop("io worker"), IoWorkerMain, true)
                                 44               1 : PG_PROCTYPE(B_LOGGER, gettext_noop("syslogger"), SysLoggerMain, false)
                                 45             101 : PG_PROCTYPE(B_SLOTSYNC_WORKER, gettext_noop("slotsync worker"), ReplSlotSyncWorkerMain, true)
                                 46             203 : PG_PROCTYPE(B_STANDALONE_BACKEND, gettext_noop("standalone backend"), NULL, false)
                                 47            4403 : PG_PROCTYPE(B_STARTUP, gettext_noop("startup"), StartupProcessMain, true)
                                 48            1668 : PG_PROCTYPE(B_WAL_RECEIVER, gettext_noop("walreceiver"), WalReceiverMain, true)
                                 49           19085 : PG_PROCTYPE(B_WAL_SENDER, gettext_noop("walsender"), NULL, true)
                                 50              74 : PG_PROCTYPE(B_WAL_SUMMARIZER, gettext_noop("walsummarizer"), WalSummarizerMain, true)
                                 51            1340 : PG_PROCTYPE(B_WAL_WRITER, gettext_noop("walwriter"), WalWriterMain, true)
        

Generated by: LCOV version 2.4-beta