diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2022-02-14 03:26:55 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2022-02-14 03:32:34 +0300 |
commit | ac2303aa0386d2fa26cc3e237076b49827b39d6a (patch) | |
tree | bd83f8bf7ce8557282f8bfd38ac0fa3db82f1ea1 /src/common/jsonapi.c | |
parent | 51ee561f5671cd92f6dcaacf043985c497a82fc1 (diff) | |
download | postgresql-ac2303aa0386d2fa26cc3e237076b49827b39d6a.tar.gz postgresql-ac2303aa0386d2fa26cc3e237076b49827b39d6a.zip |
Fix memory leak in IndexScan node with reordering
Fix ExecReScanIndexScan() to free the referenced tuples while emptying the
priority queue. Backpatch to all supported versions.
Discussion: https://postgr.es/m/CAHqSB9gECMENBQmpbv5rvmT3HTaORmMK3Ukg73DsX5H7EJV7jw%40mail.gmail.com
Author: Aliaksandr Kalenik
Reviewed-by: Tom Lane, Alexander Korotkov
Backpatch-through: 10
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions