diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-09-05 16:05:21 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-09-05 16:05:21 +0900 |
commit | 1b373aed20e61e4a3033e1e396e4ba7c2a96bc20 (patch) | |
tree | 6d2311110471eb4adb465a6d92c59dc02081204d /src/backend/access/gist/gist.c | |
parent | 341e9a05e7b4c4fb2a1e539a5073dfd0e5b46735 (diff) | |
download | postgresql-1b373aed20e61e4a3033e1e396e4ba7c2a96bc20.tar.gz postgresql-1b373aed20e61e4a3033e1e396e4ba7c2a96bc20.zip |
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
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions