v2-0002-Add-a-comment-to-distinguish-backend-types.patch
application/octet-stream
Filename: v2-0002-Add-a-comment-to-distinguish-backend-types.patch
Type: application/octet-stream
Part: 0
Patch
Format: format-patch
Series: patch v2-0002
Subject: Add a comment to distinguish backend types
| File | + | − |
|---|---|---|
| src/include/miscadmin.h | 1 | 0 |
From 4c0ba4fd236548abfecdf0d6d242b3a57b2754f7 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson <dgustafsson@postgresql.org> Date: Fri, 10 Jul 2026 11:37:06 +0200 Subject: [PATCH v2 2/2] Add a comment to distinguish backend types The data checksums entries were seemingly auxiliary processes from reading the code, but they are in fact background workers. Add a comment to clarify. Reported-by: Fujii Masao <masao.fujii@gmail.com> Discussion: https://postgr.es/m/CAHGQGwFsBjQs2fv7b72hxzGV_fJMh6LAg4E83pNfDOu1jVgWCA@mail.gmail.com --- src/include/miscadmin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 7170a4bff98..16da60721bf 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -370,6 +370,7 @@ typedef enum BackendType B_WAL_SUMMARIZER, B_WAL_WRITER, + /* Background worker processes */ B_DATACHECKSUMSWORKER_LAUNCHER, B_DATACHECKSUMSWORKER_WORKER, -- 2.39.3 (Apple Git-146)