pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dean Gibson (DB Administrator) <postgresql4@ultimeth.com>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: What does "merge-joinable join conditions" mean ????
Date: Sun, 15 Jan 2006 18:21:53 -0500
Message-ID: <24299.1137367313@sss.pgh.pa.us> (raw)
In-Reply-To: <43CACC78.7090107@ultimeth.com>
References: <43CAAFA6.6050001@ultimeth.com>
	<20060115215448.GA30809@winnie.fuhr.org>
	<43CACC78.7090107@ultimeth.com>

"Dean Gibson (DB Administrator)" <postgresql4@ultimeth.com> writes:
> 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),

Really?  The FULL JOIN condition using ~ is the source of the failure,
and I'd be quite surprised if changing WHERE makes it work.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <24299.1137367313@sss.pgh.pa.us>
Permalink:  ../24299.1137367313@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24299.1137367313@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, postgresql4@ultimeth.com
  Subject: Re: What does "merge-joinable join conditions" mean ????
  In-Reply-To: <24299.1137367313@sss.pgh.pa.us>

* 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