Re: merge-join for domain with underlying type text

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Randall Lucas <rlucas(at)tercent(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: merge-join for domain with underlying type text
Date: 2003-05-10 22:13:25
Message-ID: 1052604804.48831.19.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sat, 2003-05-10 at 17:04, Randall Lucas wrote:
> Hi Folks,
>
> If I have a domain defined with an underlying type of "text" or
> "varchar," and I need to FULL OUTER JOIN two tables based upon the
> similarity in these fields, I am getting:

Seems it works perfectly fine with integers and text based domains on
7.3 and 7.4. Do you have a full failing example?

junk=# create domain int as integer;
CREATE DOMAIN
junk=# create table a (col1 int);
CREATE TABLE
junk=# create table b (col1 int);
CREATE TABLE
junk=# select * from a full outer join b using (col1);
col1
------
(0 rows)

junk=# select version();
version
------------------------------------------------------------------------
PostgreSQL 7.4devel on i386-unknown-freebsd4.8, compiled by GCC 2.95.4
(1 row)

--
Rod Taylor <rbt(at)rbt(dot)ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Randall Lucas 2003-05-10 23:40:48 Re: merge-join for domain with underlying type text
Previous Message Randall Lucas 2003-05-10 21:04:58 merge-join for domain with underlying type text