From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix memory leak in IndexScan node with reordering |
Date: | 2022-02-14 01:16:51 |
Message-ID: | E1nJPz1-0001RR-0Q@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/0d554775bd040e8edff66a57289b3bd56f64c2f2
Modified Files
--------------
src/backend/executor/nodeIndexscan.c | 6 +++++-
src/test/regress/expected/create_index.out | 27 +++++++++++++++++++++++++++
src/test/regress/sql/create_index.sql | 4 ++++
3 files changed, 36 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2022-02-14 01:16:54 | pgsql: Fix memory leak in IndexScan node with reordering |
Previous Message | Alexander Korotkov | 2022-02-14 01:16:48 | pgsql: Fix memory leak in IndexScan node with reordering |