pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra
@ 2019-08-09 17:20  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2019-08-09 17:20 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra
@ 2019-08-09 17:20  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2019-08-09 17:20 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0662eb6219f1f4bafc1916a0bf2813cdc58e5eca

Modified Files
--------------
src/backend/partitioning/partprune.c          |  7 ++-
src/test/regress/expected/partition_prune.out | 66 +++++++++++++++++++++++++++
src/test/regress/sql/partition_prune.sql      | 10 ++++
3 files changed, 82 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra
@ 2019-08-09 17:20  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2019-08-09 17:20 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/59d3789294cf6d42325e92486b053f1ee5934eb8

Modified Files
--------------
src/backend/partitioning/partprune.c          |  7 ++-
src/test/regress/expected/partition_prune.out | 66 +++++++++++++++++++++++++++
src/test/regress/sql/partition_prune.sql      | 10 ++++
3 files changed, 82 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-08-09 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 17:20 pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra Tom Lane <tgl@sss.pgh.pa.us>
2019-08-09 17:20 pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra Tom Lane <tgl@sss.pgh.pa.us>
2019-08-09 17:20 pgsql: Fix SIGSEGV in pruning for ScalarArrayOp with constant-null arra Tom Lane <tgl@sss.pgh.pa.us>

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