Re: eliminating records not in (select id ... so SLOW? - Mailing list pgsql-general

From Tom Lane
Subject Re: eliminating records not in (select id ... so SLOW?
Date
Msg-id 10113.1217603312@sss.pgh.pa.us
Whole thread Raw
In response to eliminating records not in (select id ... so SLOW?  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
List pgsql-general
Ivan Sergio Borgonovo <mail@webthatworks.it> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Huh.  The only way I can see for that to happen is if the datatypes
>> involved aren't hashable.  What's the datatypes of the two columns
>> being compared, anyway?

> thanks to svn I'd say you're right... one column was int the other
> bigint.

Ah.  8.3 can hash certain cross-type comparisons (including that one)
but prior versions won't.

            regards, tom lane

pgsql-general by date:

Previous
From: Ivan Sergio Borgonovo
Date:
Subject: Re: eliminating records not in (select id ... so SLOW?
Next
From: "David Wilson"
Date:
Subject: Re: use of column in COPY