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

From Andrus
Subject Re: FULL JOIN is only supported with merge-joinable join conditions
Date
Msg-id f2rq51$26g9$1@news.hub.org
Whole thread Raw
In response to Re: FULL JOIN is only supported with merge-joinable join conditions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> I think the way to get the result you want is to suppress the
> null-containing rows before they get to the FULL JOIN, like so:
>
> regression=# SELECT *
> FROM (SELECT * FROM iandmed WHERE ametikoht IS NOT NULL) AS iandmed
>   FULL JOIN koosseis ON iandmed.ametikoht=koosseis.ametikoht;

Thank you.
In my case koosseis.ametikoht column does not contain null values.
Si I fixed this in WHERE clause

WHERE (iandmed.ametikoht is not null or koosseis.ametikoht is not null)

I hope this   produces same result in my case.

Andrus.

pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: createdb.exe prompting for password on Vista
Next
From: Piotr Konieczny
Date:
Subject: Problem with pg_dump.