Re: satisfies_hash_partition crash

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tender Wang <tndrwang(at)gmail(dot)com>
Cc: Ewan Young <kdbase(dot)hack(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: satisfies_hash_partition crash
Date: 2026-07-02 17:54:00
Message-ID: CA+TgmobsvQw3F+KRYT83=N3teh8D2t-oPR=U06QDZJE3viCJRg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 2, 2026 at 2:17 AM Tender Wang <tndrwang(at)gmail(dot)com> wrote:
> Personally, I prefer a local bool variable near the top and reuse it.

I prefer to more thoroughly confine this fix to the variadic code
path, since I don't think we really expect that to be exercised in
practice. So here's my proposal.

--
Robert Haas
EDB: http://www.enterprisedb.com

Attachment Content-Type Size
v2-0001-Prevent-satisfies_hash_partition-from-crashing-wi.patch application/octet-stream 3.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2026-07-02 17:57:36 Re: Bypassing cursors in postgres_fdw to enable parallel plans
Previous Message Greg Burd 2026-07-02 16:40:51 Re: Tepid: selective index updates for heap relations