On 30/11/2023 22:26, Andres Freund wrote:
> Aside: Somewhat odd that InitAuxiliaryProcess() doesn't call
> InitLWLockAccess().
Yeah that caught my eye too.
It seems to have been an oversight in commit 1c6821be31f. Before that,
in 9.4, the lwlock stats were printed for aux processes too, on shutdown.
Committed a fix for that to master.
--
Heikki Linnakangas
Neon (https://neon.tech)