From: Dean Gibson (DB Administrator) <postgresql4@ultimeth.com>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: What does "merge-joinable join conditions" mean ????
Date: Sun, 15 Jan 2006 14:28:08 -0800
Message-ID: <43CACC78.7090107@ultimeth.com> (raw)
In-Reply-To: <20060115215448.GA30809@winnie.fuhr.org>
References: <43CAAFA6.6050001@ultimeth.com>
<20060115215448.GA30809@winnie.fuhr.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: postgresql4@ultimeth.com
Subject: Re: What does "merge-joinable join conditions" mean ????
In-Reply-To: <43CACC78.7090107@ultimeth.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox