aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeProjectSet.c
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2024-12-21 10:55:31 +0700
committerJohn Naylor <john.naylor@postgresql.org>2025-01-06 09:01:58 +0700
commit960013f2a1f9e51aad85c91aceeb442508be6032 (patch)
treea8c197fef6d22b8450558417b5a4856c0139c293 /src/backend/executor/nodeProjectSet.c
parent9a8313dabe5ebb6a99d9a165d3c9bc3fa0213088 (diff)
downloadpostgresql-960013f2a1f9e51aad85c91aceeb442508be6032.tar.gz
postgresql-960013f2a1f9e51aad85c91aceeb442508be6032.zip
Use caller's memory context for radix tree iteration state
Typically only one iterator is present at any time, so it's overkill to devote an entire context for this. Get rid of it and use the caller's context. This is tidy-up work, so no backpatch in this form. However, a hypothetical extension to v17 that tried to start iteration from an attaching backend would result in a crash, so that'll be fixed separately in a way that doesn't change behavior in core. Patch by me, reported and reviewed by Masahiko Sawada Discussion: https://postgr.es/m/CAD21AoBB2U47V=F+wQRB1bERov_of5=BOZGaybjaV8FLQyqG3Q@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions