Move information about pgstats kinds into its own header pgstat_kind.h
Michael Paquier <michael@paquier.xyz>
Move information about pgstats kinds into its own header pgstat_kind.h This includes all the definitions for the various PGSTAT_KIND_* values, the range allowed for custom stats kinds and some macros related all that. One use-case behind this split is the possibility to use this information for frontend tools, without having to rely on pgstat.h and a backend footprint. Author: Michael Paquier Reviewed-by: Bertrand Drouvot Discussion: https://postgr.es/m/Z24fyb3ipXKR38oS@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/include/pgstat.h | modified | +1 −56 |
| src/include/utils/pgstat_kind.h | added | +72 −0 |
Discussion
- WAL-logging facility for pgstats kinds 11 messages · 2024-12-27 → 2025-02-16