pgsql: Avoid referencing off the end of subplan_partition_offsets. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Avoid referencing off the end of subplan_partition_offsets.
Date
Msg-id E1eeSlk-0002Nc-Bp@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Add parallel-aware hash joins.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Add parallel-aware hash joins.