aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-07-11 09:21:40 +0900
committerMichael Paquier <michael@paquier.xyz>2024-07-11 09:21:40 +0900
commit21471f18e9d9aa3383314ed8bc9163bc369109ae (patch)
treeba62b94e3c4a735dbb3b1924381f73bb024fa0d5 /src/backend/executor/nodeModifyTable.c
parentcc2236854e2bb4f2120927c390c63cc2aad77762 (diff)
downloadpostgresql-21471f18e9d9aa3383314ed8bc9163bc369109ae.tar.gz
postgresql-21471f18e9d9aa3383314ed8bc9163bc369109ae.zip
Add PgStat_KindInfo.init_shmem_cb
This new callback gives fixed-numbered stats the possibility to take actions based on the area of shared memory allocated for them. This removes from pgstat_shmem.c any knowledge specific to the types of fixed-numbered stats, and the initializations happen in their own files. Like b68b29bc8fec, this change is useful to make this area of the code more pluggable, so as custom fixed-numbered stats can take actions after their shared memory area is initialized. Reviewed-by: Bertrand Drouvot Discussion: https://postgr.es/m/Zot5bxoPYdS7yaoy@paquier.xyz
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions