Revision fb503793ef50eb16eb1924251d2ed58e1621eeb3 authored by Andres Freund on 16 September 2022, 21:08:40 UTC, committed by Andres Freund on 17 September 2022, 16:06:47 UTC
So far they were created below CacheMemoryContext. However, that's not guaranteed to exist in all situations, leading to memory contexts created as top-level contexts. There isn't actually a good reason anymore to create them below CacheMemoryContext, so just creating them below TopMemoryContext seems the best approach. Reported-by: Reid Thompson <reid.thompson@crunchydata.com> Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Andres Freund <andres@anarazel.de> Author: "Drouvot, Bertrand" <bdrouvot@amazon.com> Discussion: https://postgr.es/m/b948b729-42fe-f88c-2f4a-0e65d84c049b@amazon.com Backpatch: 15-
1 parent 23bcc8d
File | Mode | Size |
---|---|---|
backend | ||
bin | ||
common | ||
fe_utils | ||
include | ||
interfaces | ||
makefiles | ||
pl | ||
port | ||
template | ||
test | ||
timezone | ||
tools | ||
tutorial | ||
.gitignore | -rw-r--r-- | 49 bytes |
DEVELOPERS | -rw-r--r-- | 173 bytes |
Makefile | -rw-r--r-- | 1.7 KB |
Makefile.global.in | -rw-r--r-- | 34.4 KB |
Makefile.shlib | -rw-r--r-- | 15.4 KB |
nls-global.mk | -rw-r--r-- | 6.6 KB |
Computing file changes ...