pgsql: Allow table AM to store complex data structures in rd_amcache
В списке pgsql-committers по дате отправления:
| От | Alexander Korotkov |
|---|---|
| Тема | pgsql: Allow table AM to store complex data structures in rd_amcache |
| Дата | |
| Msg-id | E1rnPXK-004zQS-EL@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/02eb07ea89d27f1d05a5055bf779042d2953b4e7 Modified Files -------------- src/backend/access/heap/heapam_handler.c | 1 + src/backend/utils/cache/relcache.c | 11 +++-------- src/include/access/tableam.h | 34 ++++++++++++++++++++++++++++++++ src/include/utils/rel.h | 10 ++++++---- 4 files changed, 44 insertions(+), 12 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера