agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Prevent satisfies_hash_partition from crashing with VARIADIC NUL
Date: Mon, 06 Jul 2026 17:04:31 +0000
Message-ID: <E1wgmkB-001cL7-1E@gemulon.postgresql.org> (raw)

Prevent satisfies_hash_partition from crashing with VARIADIC NULL.

Commit f3b0897a1213f46b4d3a99a7f8ef3a4b32e03572 fixed some
related problems, but overlooked this one. That commit first
appeared in PostgreSQL 11, so back-patch to all supported branches.

Backpatch-through: 14
Discussion: http://postgr.es/m/CA+TgmobsvQw3F+KRYT83=N3teh8D2t-oPR=U06QDZJE3viCJRg@mail.gmail.com
Reviewed-by: Tender Wang <tndrwang@gmail.com>
Reviewed-by: Ewan Young <kdbase.hack@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e8914ec22f8f254b84523d671afb60125d35c9b1

Modified Files
--------------
src/backend/partitioning/partbounds.c   | 14 +++++++++++++-
src/test/regress/expected/hash_part.out |  7 +++++++
src/test/regress/sql/hash_part.sql      |  3 +++
3 files changed, 23 insertions(+), 1 deletion(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1wgmkB-001cL7-1E@gemulon.postgresql.org>
Permalink:  ../E1wgmkB-001cL7-1E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wgmkB-001cL7-1E@gemulon.postgresql.org

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Prevent satisfies_hash_partition from crashing with VARIADIC NUL
  In-Reply-To: <E1wgmkB-001cL7-1E@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox