Re: Full outer join

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tim Perdue <tim(at)perdue(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Full outer join
Date: 2001-04-13 07:02:32
Message-ID: 3104.987145352@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tim Perdue <tim(at)perdue(dot)net> writes:
> However, I keep getting this error, and I don't know what it means:
> ERROR: FULL JOIN is only supported with mergejoinable join conditions

Works for me:

regression=# create table stats_http_downloads (day int, filerelease_id int);
CREATE
regression=# create table stats_ftp_downloads (day int, filerelease_id int);
CREATE
regression=# SELECT * FROM (stats_http_downloads sh
regression(# FULL OUTER JOIN stats_ftp_downloads sf USING (day,filerelease_id));
day | filerelease_id
-----+----------------
(0 rows)

What version are you using?

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tim Perdue 2001-04-13 13:23:22 Re: Full outer join
Previous Message Tom Lane 2001-04-13 03:55:57 Re: Sql error