postgresql/src/backend/utils/cache
Alexander Korotkov 02eb07ea89 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
2024-03-21 23:00:34 +02:00
..
attoptcache.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
catcache.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
evtcache.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
inval.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
lsyscache.c Revert "Fix parallel-safety check of expressions and predicate for index builds" 2024-03-07 08:30:35 +09:00
Makefile Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
partcache.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
plancache.c Separate equalRowTypes() from equalTupleDescs() 2024-03-17 05:58:04 +01:00
relcache.c Allow table AM to store complex data structures in rd_amcache 2024-03-21 23:00:34 +02:00
relfilenumbermap.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
relmapper.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
spccache.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
syscache.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
ts_cache.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
typcache.c Catalog domain not-null constraints 2024-03-20 10:05:37 +01:00