LCOV - differential code coverage report
Current view: top level - src/include/postmaster - proctypelist.h Coverage Total Hit UNC GNC
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 95.0 % 20 19 1 19
Current Date: 2026-05-05 10:23:31 +0900 Functions: - 0 0
Baseline: lcov-20260505-025707-baseline Line coverage date bins:
Baseline Date: 2026-05-05 10:27:06 +0900 (30,360] days: 95.0 % 20 19 1 19
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-2026, 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, category, description, Main function,
                                 29                 :  * shmem_attach) entries.
                                 30                 :  */
                                 31                 : 
                                 32                 : 
                                 33                 : /* bktype, bkcategory, description, main_func, shmem_attach */
   85 alvherre@kurilemu.de       34 GNC          44 : PG_PROCTYPE(B_ARCHIVER, "archiver", gettext_noop("archiver"), PgArchiverMain, true)
                                 35            1613 : PG_PROCTYPE(B_AUTOVAC_LAUNCHER, "autovacuum", gettext_noop("autovacuum launcher"), AutoVacLauncherMain, true)
                                 36             498 : PG_PROCTYPE(B_AUTOVAC_WORKER, "autovacuum", gettext_noop("autovacuum worker"), AutoVacWorkerMain, true)
                                 37          347214 : PG_PROCTYPE(B_BACKEND, "backend", gettext_noop("client backend"), BackendMain, true)
                                 38             104 : PG_PROCTYPE(B_BG_WORKER, "bgworker", gettext_noop("background worker"), BackgroundWorkerMain, true)
                                 39            1645 : PG_PROCTYPE(B_BG_WRITER, "bgwriter", gettext_noop("background writer"), BackgroundWriterMain, true)
                                 40            6712 : PG_PROCTYPE(B_CHECKPOINTER, "checkpointer", gettext_noop("checkpointer"), CheckpointerMain, true)
   32 dgustafsson@postgres       41             153 : PG_PROCTYPE(B_DATACHECKSUMSWORKER_LAUNCHER, "checksums", gettext_noop("datachecksum launcher"), NULL, false)
                                 42             116 : PG_PROCTYPE(B_DATACHECKSUMSWORKER_WORKER, "checksums", gettext_noop("datachecksum worker"), NULL, false)
   85 alvherre@kurilemu.de       43             568 : PG_PROCTYPE(B_DEAD_END_BACKEND, "backend", gettext_noop("dead-end client backend"), BackendMain, true)
   85 alvherre@kurilemu.de       44 UNC           0 : PG_PROCTYPE(B_INVALID, "postmaster", gettext_noop("unrecognized"), NULL, false)
   85 alvherre@kurilemu.de       45 GNC        5113 : PG_PROCTYPE(B_IO_WORKER, "ioworker", gettext_noop("io worker"), IoWorkerMain, true)
                                 46               1 : PG_PROCTYPE(B_LOGGER, "syslogger", gettext_noop("syslogger"), SysLoggerMain, false)
                                 47             139 : PG_PROCTYPE(B_SLOTSYNC_WORKER, "slotsyncworker", gettext_noop("slotsync worker"), ReplSlotSyncWorkerMain, true)
                                 48             222 : PG_PROCTYPE(B_STANDALONE_BACKEND, "backend", gettext_noop("standalone backend"), NULL, false)
                                 49            5631 : PG_PROCTYPE(B_STARTUP, "startup", gettext_noop("startup"), StartupProcessMain, true)
                                 50            1982 : PG_PROCTYPE(B_WAL_RECEIVER, "walreceiver", gettext_noop("walreceiver"), WalReceiverMain, true)
                                 51           22001 : PG_PROCTYPE(B_WAL_SENDER, "walsender", gettext_noop("walsender"), NULL, true)
                                 52              97 : PG_PROCTYPE(B_WAL_SUMMARIZER, "walsummarizer", gettext_noop("walsummarizer"), WalSummarizerMain, true)
                                 53            1550 : PG_PROCTYPE(B_WAL_WRITER, "walwriter", gettext_noop("walwriter"), WalWriterMain, true)
        

Generated by: LCOV version 2.5.0-beta