git.postgresql.org Git - postgresql.git/commit
Thu, 5 Sep 2024 07:05:21 +0000 (16:05 +0900)
Thu, 5 Sep 2024 07:05:21 +0000 (16:05 +0900)
commit 1b373aed20e61e4a3033e1e396e4ba7c2a96bc20
Add callback for backend initialization in pgstats
pgstat_initialize() is currently used by the WAL stats as a code path to
take some custom actions when a backend starts. A callback is added to
generalize the concept so as all stats kinds can do the same, for
builtin and custom kinds, if set.
Reviewed-by: Bertrand Drouvot, Kyotaro Horiguchi
Discussion: https://postgr.es/m/ZtZr1K4PLdeWclXY@paquier.xyz
This is the main PostgreSQL git repository.
RSS
Atom