pgsql: Avoid referencing off the end of subplan_partition_offsets.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid referencing off the end of subplan_partition_offsets.
Date: 2018-01-24 21:39:44
Message-ID: E1eeSlk-0002Nc-Bp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Avoid referencing off the end of subplan_partition_offsets.

Report by buildfarm member skink and Tom Lane. Analysis by me.
Patch by Amit Khandekar.

Discussion: http://postgr.es/m/CAJ3gD9fVA1iXQYhfqHP5n_TEd4U9=V8TL_cc-oKRnRmxgdvJrQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/945f71db845262e7491b5fe4403b01147027576b

Modified Files
--------------
src/backend/executor/execPartition.c | 2 ++
src/backend/executor/nodeModifyTable.c | 3 ++-
src/include/executor/execPartition.h | 2 ++
3 files changed, 6 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-01-24 23:10:06 reducing isolation tests runtime
Previous Message Andres Freund 2018-01-24 21:29:16 Re: pgsql: Add parallel-aware hash joins.