Re: Key joins

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Joel Jacobson <joel(at)compiler(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Arne Roland <arne(dot)roland(at)malkut(dot)net>, Anders Granlund <anders(dot)granlund(dot)0(at)gmail(dot)com>, Andreas Karlsson <andreas(at)proxel(dot)se>, Vik Fearing <vik(at)chouppes(dot)com>
Subject: Re: Key joins
Date: 2026-05-29 16:20:19
Message-ID: 348b4bd1d4215d475952b7f5527a092a1491a2c1.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2026-05-29 at 15:21 +0200, Joel Jacobson wrote:
> In the spirit of looking more like SQL, how about replacing the
> > arrows with FROM and TO?
>
> We actually originally considered TO and FROM as keywords for indicating
> direction, but FROM in a join clause causes confusion with the FROM
> clause itself.  Our user discussions over the last three years indicates
> that arrows are clearer and less ambiguous.
>
> It's also worth to mention that SQL/PGQ also uses ASCII arrows to
> indicate direction for its graph pattern syntax.

I understand the problem with FROM, and I have no objection to the
arrows.

Yours,
Laurenz Albe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-05-29 16:23:11 Re: Add RISC-V Zbb popcount optimization
Previous Message Nathan Bossart 2026-05-29 16:10:58 Re: future of PQfn()