Re: Join works in 7.3.6, fails in 7.4.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Join works in 7.3.6, fails in 7.4.2
Date: 2004-04-13 19:42:54
Message-ID: 25792.1081885374@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Michael Fuhr <mike(at)fuhr(dot)org> writes:
> I have a query that works in 7.3.6 but not in 7.4.2 unless I turn
> off enable_hashjoin. I'm joining a table of network interfaces and
> a table of networks so I can find additional info about a particular
> interface's network.

Hmm. The inet = operator is marked hashable in 7.4 but not in 7.3 ...
I wonder if that is a mistake? I recall looking at the datatype and
deciding there were no insignificant bits in it, but that could be
wrong. Or it could be that the network() function is taking some
shortcut it shouldn't.

Is any of this data IPv6 addresses by any chance?

> From my sample data set (available upon request),

Could we see the specific values that join in 7.3 and fail to do so in
7.4?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-04-13 20:24:01 Re: Join works in 7.3.6, fails in 7.4.2
Previous Message Chris Kratz 2004-04-13 19:36:55 insert rule not firing on insert with exists subselect

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-04-13 19:45:28 Re: FRONTEND in ecpg
Previous Message Tom Lane 2004-04-13 19:32:27 Re: Lexing with different charsets