aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-10-05 20:31:51 +1300
committerDavid Rowley <drowley@postgresql.org>2023-10-05 20:31:51 +1300
commit689af6db6c76a7966efdb702326f85fa0d8a04ef (patch)
tree9130dbb5ade8d6a2e2774c62d310c4543dbfe04c /src/backend/executor/nodeModifyTable.c
parent95e91da66cf5bbaf46c34c9386c93004f28d6719 (diff)
downloadpostgresql-689af6db6c76a7966efdb702326f85fa0d8a04ef.tar.gz
postgresql-689af6db6c76a7966efdb702326f85fa0d8a04ef.zip
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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions