aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-08-05 11:43:33 +0900
committerMichael Paquier <michael@paquier.xyz>2024-08-05 11:43:33 +0900
commit2eff9e678d350882f7a4b6ec6361927c9093051c (patch)
tree7f4a4023582dcf861549527c86ffafcbb8e377b7 /src/backend/utils/adt/json.c
parent8036d73ae3d4014a9dde21b0746dc1ac139d4dc1 (diff)
downloadpostgresql-2eff9e678d350882f7a4b6ec6361927c9093051c.tar.gz
postgresql-2eff9e678d350882f7a4b6ec6361927c9093051c.zip
Add helper routines to retrieve data for custom fixed-numbered pgstats
This is useful for extensions to get snapshot and shmem data for custom cumulative statistics when these have a fixed number of objects, so as these do not need to know about the snapshot internals, aka pgStatLocal. An upcoming commit introducing an example template for custom cumulative stats with fixed-numbered objects will make use of these. I have noticed that this is useful for extension developers while hacking my own example, actually. Author: Michael Paquier Reviewed-by: Dmitry Dolgov, Bertrand Drouvot Discussion: https://postgr.es/m/Zmqm9j5EO0I4W8dx@paquier.xyz
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions