git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 57184c3) | patch
Allow table AM to store complex data structures in rd_amcache
2024年3月21日 21:00:34 +0000 (23:00 +0200)
2024年3月21日 21:00:34 +0000 (23:00 +0200)
commit 02eb07ea89d27f1d05a5055bf779042d2953b4e7
Allow table AM to store complex data structures in rd_amcache

The new table AM method free_rd_amcache is responsible for freeing all the
memory related to rd_amcache and setting free_rd_amcache to NULL. If the new
method is not specified, we still assume rd_amcache to be a single chunk of
memory, which could be just pfree'd.

Discussion: https://postgr.es/m/CAPpHfdurb9ycV8udYqM%3Do0sPS66PJ4RCBM1g-bBpvzUfogY0EA%40mail.gmail.com
Reviewed-by: Matthias van de Meent, Mark Dilger, Pavel Borisov
Reviewed-by: Nikita Malakhov, Japin Li
src/backend/access/heap/heapam_handler.c diff | blob | blame | history
src/backend/utils/cache/relcache.c diff | blob | blame | history
src/include/access/tableam.h diff | blob | blame | history
src/include/utils/rel.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /