From: Daniel Gustafsson Date: Sat, 1 Aug 2026 19:35:51 +0000 (+0200) Subject: Add a comment to distinguish backend types X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2Fpostgresql.git 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. Backpatch down to v19 where online checksums were introduced. Author: Daniel Gustafsson Reported-by: Fujii Masao Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/CAHGQGwFsBjQs2fv7b72hxzGV_fJMh6LAg4E83pNfDOu1jVgWCA@mail.gmail.com Backpatch-through: 19 --- diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 7170a4bff98..0fc59af02b9 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -370,6 +370,10 @@ typedef enum BackendType B_WAL_SUMMARIZER, B_WAL_WRITER, + /* + * Data checksums processes are dynamic background workers, but they use + * dedicated backend types for pgstat I/O accounting. + */ B_DATACHECKSUMSWORKER_LAUNCHER, B_DATACHECKSUMSWORKER_WORKER,