aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-11-22 10:12:26 +0900
committerMichael Paquier <michael@paquier.xyz>2024-11-22 10:12:26 +0900
commitc06e71d1acaf490660ed4ae5c28b3079628746b0 (patch)
tree266b42e6e6936a3ec7cfc18a9e3807ebad4981e5 /src/backend/access/gist/gistvalidate.c
parent4c4aaa19a6fed39e0eb0247625331c3df34d8211 (diff)
downloadpostgresql-c06e71d1acaf490660ed4ae5c28b3079628746b0.tar.gz
postgresql-c06e71d1acaf490660ed4ae5c28b3079628746b0.zip
Add write_to_file to PgStat_KindInfo for pgstats kinds
This new field controls if entries of a stats kind should be written or not to the on-disk pgstats file when shutting down an instance. This affects both fixed and variable-numbered kinds. This is useful for custom statistics by itself, and a patch is under discussion to add a new builtin stats kind where the write of the stats is not necessary. All the built-in stats kinds, as well as the two custom stats kinds in the test module injection_points, set this flag to "true" for now, so as stats entries are written to the on-disk pgstats file. Author: Bertrand Drouvot Reviewed-by: Nazir Bilal Yavuz Discussion: https://postgr.es/m/Zz7T47nHwYgeYwOe@ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions