postgresql/src/include/lib
John Naylor 960013f2a1 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
2025-01-06 09:01:58 +07:00
..
binaryheap.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
bipartite_match.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
bloomfilter.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
dshash.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
hyperloglog.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
ilist.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
integerset.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
knapsack.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pairingheap.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
qunique.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
radixtree.h Use caller's memory context for radix tree iteration state 2025-01-06 09:01:58 +07:00
rbtree.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
simplehash.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
sort_template.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
stringinfo.h Update copyright for 2025 2025-01-01 11:21:55 -05:00