From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra
Date: Fri, 09 Aug 2019 17:20:43 +0000
Message-ID: <E1hw8ZH-0007Bf-45@gemulon.postgresql.org> (raw)
Fix SIGSEGV in pruning for ScalarArrayOp with constant-null array.
Not much to be said here: commit 9fdb675fc should have checked
constisnull, didn't.
Per report from Piotr Włodarczyk. Back-patch to v11 where
bug was introduced.
Discussion: https://postgr.es/m/CAP-dhMr+vRpwizEYjUjsiZ1vwqpohTm+3Pbdt6Pr7FEgPq9R0Q@mail.gmail.com
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/2f729d83226705d1149419a2aef7c1678fe641ec
Modified Files
--------------
src/backend/partitioning/partprune.c | 7 ++-
src/test/regress/expected/partition_prune.out | 68 +++++++++++++++++++++++++++
src/test/regress/sql/partition_prune.sql | 10 ++++
3 files changed, 84 insertions(+), 1 deletion(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra
In-Reply-To: <E1hw8ZH-0007Bf-45@gemulon.postgresql.org>
References: <E1hw8ZH-0007Bf-45@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox