postgresql/src
David Rowley 0b053e78b5 Fix memory leak in Memoize code
Ensure we switch to the per-tuple memory context to prevent any memory
leaks of detoasted Datums in MemoizeHash_hash() and MemoizeHash_equal().

Reported-by: Orlov Aleksej
Author: Orlov Aleksej, David Rowley
Discussion: https://postgr.es/m/83281eed63c74e4f940317186372abfd%40cft.ru
Backpatch-through: 14, where Memoize was added
2023-10-05 20:30:47 +13:00
..
backend Fix memory leak in Memoize code 2023-10-05 20:30:47 +13:00
bin Modernize const handling with readline 2023-10-05 08:45:50 +02:00
common Add function for removing arbitrary nodes in binaryheap. 2023-09-18 14:06:08 -07:00
fe_utils Allow using syncfs() in frontend utilities. 2023-09-06 16:27:16 -07:00
include Remove RelationGetIndexRawAttOptions() 2023-10-03 17:51:02 +02:00
interfaces Add some const qualifiers 2023-09-26 11:28:57 +01:00
makefiles Remove --disable-thread-safety and related code. 2023-07-12 08:20:43 +12:00
pl Remove environment sensitivity in pl/tcl regression test. 2023-09-29 20:21:10 -04:00
port Meson: check for pg_config_paths.h left over from make 2023-08-24 10:33:53 +12:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test worker_spi: Expand set of options to start workers 2023-10-05 12:22:28 +09:00
timezone Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
tools Return data from heap_page_prune via a struct. 2023-09-28 10:36:34 -04:00
tutorial Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
.gitignore
DEVELOPERS
Makefile Integrate pg_bsd_indent into our build/test infrastructure. 2023-02-12 12:22:21 -05:00
Makefile.global.in Suppress macOS warnings about duplicate libraries in link commands. 2023-09-29 14:07:30 -04:00
Makefile.shlib Stop using "-multiply_defined suppress" on macOS. 2023-09-26 21:06:21 -04:00
meson.build Integrate pg_bsd_indent into our build/test infrastructure. 2023-02-12 12:22:21 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00