Re: FULL JOIN is only supported with merge-joinable join conditions - Mailing list pgsql-general

From Tom Lane
Subject Re: FULL JOIN is only supported with merge-joinable join conditions
Date
Msg-id 1954.1262790126@sss.pgh.pa.us
Whole thread Raw
In response to FULL JOIN is only supported with merge-joinable join conditions  ("hx.li" <fly2nn@126.com>)
List pgsql-general
"hx.li" <fly2nn@126.com> writes:
> ERROR:  FULL JOIN is only supported with merge-joinable join conditions
> My question is: why on clause restrict "t_1.a=1"?

It's an implementation restriction.  If the clauses aren't mergejoinable
there's no very practical way to keep track of which inner-side rows
have had a match.

> I test it in Oracle, it support to such as "t_1.a=1":

I'd be interested to know how whatever they're doing scales to very
large joins.

            regards, tom lane

pgsql-general by date:

Previous
From: "John T. Dow"
Date:
Subject: Optimistic locking with multiple rows
Next
From: Dean Rasheed
Date:
Subject: Re: set-level update fails with unique constraint violation