postgresql/src
Michael Paquier 21471f18e9 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 b68b29bc8f, 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
2024-07-11 09:21:40 +09:00
..
backend Add PgStat_KindInfo.init_shmem_cb 2024-07-11 09:21:40 +09:00
bin Use CREATE DATABASE ... STRATEGY = FILE_COPY in pg_upgrade. 2024-07-08 16:18:00 -05:00
common Typo fix 2024-07-08 22:12:55 +09:00
fe_utils Fix PL/pgSQL's handling of integer ranges containing underscores. 2024-06-04 11:48:01 +01:00
include Add PgStat_KindInfo.init_shmem_cb 2024-07-11 09:21:40 +09:00
interfaces Fix outdated comment after removal of direct SSL fallback 2024-07-08 12:44:45 +03:00
makefiles Optimize pg_popcount() with AVX-512 instructions. 2024-04-06 21:56:23 -05:00
pl Improve PL/Tcl's method for choosing Tcl names of procedures. 2024-07-05 14:14:42 -04:00
port Pre-beta mechanical code beautification. 2024-05-14 16:34:50 -04:00
template Remove AIX support 2024-02-28 15:17:23 +04:00
test Use diff's --strip-trailing-cr flag where appropriate on Windows 2024-07-10 09:53:47 -04:00
timezone Update time zone data files to tzdata release 2024a. 2024-02-01 15:57:53 -05:00
tools Use diff's --strip-trailing-cr flag where appropriate on Windows 2024-07-10 09:53:47 -04:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Apply COPT to CXXFLAGS as well 2024-07-01 07:30:55 +02:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00