Re: Key joins

Joel Jacobson <joel@compiler.org>

From: "Joel Jacobson" <joel@compiler.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: "Arne Roland" <arne.roland@malkut.net>, "Anders Granlund" <anders.granlund.0@gmail.com>, "Andreas Karlsson" <andreas@proxel.se>, "Vik Fearing" <vik@chouppes.com>
Date: 2026-05-29T07:45:17Z
Lists: pgsql-hackers

Attachments

On Fri, May 29, 2026, at 07:08, Joel Jacobson wrote:
> On Fri, May 29, 2026, at 00:13, Joel Jacobson wrote:
>> On Thu, May 28, 2026, at 20:47, Joel Jacobson wrote:
>>> Hi hackers,
>>>
>>> This patch implements a new SQL language feature, that we intent to
>>> submit as a Change Proposal to the WG 3 SQL committee for the next
>>> meeting in Stockholm in June.  We would greatly appreciate any feedback
>>> from the community.
> ...
>>> The attached Discussion paper has also been published at https://keyjoin.org
>>> with all examples in the paper runnable in the browser using a patched PGLite.

v4 is a small follow-up to fix a non-cassert build failure,
reported by cfbot on NetBSD/FreeBSD animals:

* 0002 removes assertion-only local variables in parse_key_join.c
  that triggered -Werror=unused-but-set-variable.

* 0001 and 0003 are unchanged from v3.

/Joel