Re: Propagate LIMIT bound through the outer side of left join

From: Ayoub Kazar <ayoub(dot)kazar(at)data-bene(dot)io>
To: Andrei Lepikhov <lepihov(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Propagate LIMIT bound through the outer side of left join
Date: 2026-12-04 15:58:02
Message-ID: 06d30738-65cd-41e7-a544-ef2e30c7394b@data-bene.io
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Andrei,

On 03/11/2026 08:54, Andrei Lepikhov wrote:
> Here is a new version of the feature.
>
> HashJoin in multi-batch mode doesn't satisfy the key contract not to pull more
> tuples than necessary. Hence, I removed it from the optimisation.
> Also, some cleanup in code comments and test improvements are included.
>
Yeah that was already rare anyways, so i think its okay to keep it out.
v3 looks good.

Regards,
Ayoub Kazar

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2026-12-04 16:00:53 PostgreSQL crash on reference integrity check with concurrent DDL
Previous Message Rajesh Kumar Thandapani 2026-12-04 15:55:05 Re: Add aborted_txns and aborted_bytes to pg_stat_replication_slots