diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-10-09 11:23:50 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-10-09 11:29:39 +0300 |
commit | 0bbafb534275686e780aae2964382e56321c61af (patch) | |
tree | 7e1cacbab34b35e9c0cfa0c6a493bf92e26ddaa1 /src/backend/utils/adt/array_userfuncs.c | |
parent | 1ca312686e4c4b270cb598429983a07c73a5c44a (diff) | |
download | postgresql-0bbafb534275686e780aae2964382e56321c61af.tar.gz postgresql-0bbafb534275686e780aae2964382e56321c61af.zip |
Allocate Backend structs in PostmasterContext.
The child processes don't need them. By allocating them in
PostmasterContext, the memory gets free'd and is made available for
other stuff in the child processes.
Reviewed-by: Thomas Munro
Discussion: https://www.postgresql.org/message-id/4f95c1fc-ad3c-7974-3a8c-6faa3931804c@iki.fi
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions