]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Prevent satisfies_hash_partition from crashing with VARIADIC NULL.
authorRobert Haas <rhaas@postgresql.org>
Mon, 6 Jul 2026 16:12:41 +0000 (12:12 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 6 Jul 2026 16:24:28 +0000 (12:24 -0400)
commit0115650de9374888f2e64d8dae5fbfd06ec45c7e
treede9fa8eb356d4f3f8410de370970ca0c783b1b62
parent1b17a6e3cd89f76ea5db6260c79db620d5a7793b
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>
src/backend/partitioning/partbounds.c
src/test/regress/expected/hash_part.out
src/test/regress/sql/hash_part.sql