summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorJeff Davis2023-11-20 23:21:30 +0000
committerJeff Davis2023-11-20 23:36:07 +0000
commit8efa301532c8c93938e04451a74754c91b0b760d (patch)
tree40ae72b3c1ed7de00b98efbeac070b581b483ae5 /doc/src
parent3650e7a3933166b40f7f9043bd91f45d3467c74d (diff)
Be more paranoid about OOM in search_path cache.
Recent commit f26c2368dc introduced a search_path cache, but left some potential out-of-memory hazards. Simplify the code and make it safer against OOM. This change reintroduces one list_copy(), losing a small amount of the performance gained in f26c2368dc. A future change may optimize away the list_copy() again if it can be done in a safer way. Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions