diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-01-19 14:43:59 -0600 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-01-19 14:43:59 -0600 |
commit | abb0b4fc03fcf5a0ca786bd88c357bf9213aa6e1 (patch) | |
tree | c01add754bc7ebcfe4451e039771ca5dcdfc183e /src/backend/commands/explain.c | |
parent | 8b2bcf3f287c79eaebf724cba57e5ff664b01e06 (diff) | |
download | postgresql-abb0b4fc03fcf5a0ca786bd88c357bf9213aa6e1.tar.gz postgresql-abb0b4fc03fcf5a0ca786bd88c357bf9213aa6e1.zip |
Teach autoprewarm to use the dynamic shared memory registry.
Besides showcasing the DSM registry, this prevents pg_prewarm from
stealing from the main shared memory segment's extra buffer space
when autoprewarm_start_worker() and autoprewarm_dump_now() are used
without loading the module via shared_preload_libraries.
Suggested-by: Michael Paquier
Reviewed-by: Bharath Rupireddy
Discussion: https://postgr.es/m/20231205034647.GA2705267%40nathanxps13
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions