postgresql/src/include/postmaster
Heikki Linnakangas 0edbf72f76 Misc cleanup in datachecksums_state.[ch]
Move DataChecksumsWorkerResult struct to the .c file.  It's not used
anywhere else since commit 07009121c2 removed the injection point test
code that the comment referred to.

Mark StartDataChecksumsWorkerLauncher() as static, since it's not
called from outside the .c file.  The DataChecksumsWorkerOperation
struct can then be moved into the .c file too.

Clarify the comment on StartDataChecksumsWorkerLauncher().  It said
"Main entry point for datachecksumsworker launcher process", but I
found that misleading.  That description would be a better fit for
DataChecksumsWorkerLauncherMain(), which is the process's "main"
function, rather than StartDataChecksumsWorkerLauncher().

Fix comment on WaitForAllTransactionsToFinish() on postmaster death.
The comment claimed that it sets "the abort flag" on postmaster death,
but it actually just errors outs.  Improve the comment to explain why
it doesn't just use WL_EXIT_ON_PM_DEATH.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/b283fbb9-298e-4953-9120-eefaf24fae20@iki.fi
2026-06-24 15:07:24 +03:00
..
autovacuum.h Convert all remaining subsystems to use the new shmem allocation API 2026-04-06 02:13:10 +03:00
auxprocess.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
bgworker.h Allow bgworkers to be terminated for database-related commands 2026-01-06 14:24:29 +09:00
bgworker_internals.h Convert all remaining subsystems to use the new shmem allocation API 2026-04-06 02:13:10 +03:00
bgwriter.h Convert all remaining subsystems to use the new shmem allocation API 2026-04-06 02:13:10 +03:00
datachecksum_state.h Misc cleanup in datachecksums_state.[ch] 2026-06-24 15:07:24 +03:00
fork_process.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
interrupt.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
pgarch.h Convert all remaining subsystems to use the new shmem allocation API 2026-04-06 02:13:10 +03:00
postmaster.h Fix some -Wcast-qual warnings 2026-02-27 21:57:33 +01:00
proctypelist.h Constistent naming for datacheckusms processes 2026-05-29 21:26:25 +02:00
startup.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
syslogger.h Fix syslogger NULL-pointer-dereference in EXEC_BACKEND 2026-06-08 19:49:54 +02:00
walsummarizer.h Convert all remaining subsystems to use the new shmem allocation API 2026-04-06 02:13:10 +03:00
walwriter.h Update copyright for 2026 2026-01-01 13:24:10 -05:00