Re: What does "merge-joinable join conditions" mean ???? - Mailing list pgsql-sql

From Dean Gibson (DB Administrator)
Subject Re: What does "merge-joinable join conditions" mean ????
Date
Msg-id 43CACC78.7090107@ultimeth.com
Whole thread Raw
In response to Re: What does "merge-joinable join conditions" mean ????  (Michael Fuhr <mike@fuhr.org>)
Responses Re: What does "merge-joinable join conditions" mean ????  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
On 2006-01-15 13:54, Michael Fuhr wrote:
> What's the query?
>   

SELECT count(*)  FROM "GenAppExtra" FULL JOIN  "GeoRestrict" ON callsign 
~ pattern  WHERE region_id = 4 OR geo_region = 4;

If either of the "region_id = 4"  (a field in the right-hand table) or 
"geo_region = 4" (a field in the left-hand table) are removed, the 
SELECT functions (does not give an error message), as does the case 
where the "callsign ~ pattern" (one field is from each table) is 
replaced by "callsign = pattern".

What's frustrating is that both tables are small, and "GeoRestrict" is 
only about 15 rows.

At this point, I'm considering a UNION;  alternate suggestions welcome!

-- Dean





pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: What does "merge-joinable join conditions" mean ????
Next
From: Tom Lane
Date:
Subject: Re: What does "merge-joinable join conditions" mean ????