Skip site navigation (1) Skip section navigation (2)

Re: BUG #4748: hash join and sort-merge join make different results

From: Roman Kononov <kononov(at)ftml(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4748: hash join and sort-merge join make different results
Date: 2009-04-04 03:52:52
Message-ID: 49D6D994.3030502@ftml.net (view raw or flat)
Thread:
Lists: pgsql-bugs
On 2009-04-03 14:57 Tom Lane said the following:
> I think we could fix this by having interval_hash() duplicate the
> total-span calculation done by interval_cmp_internal, and then return
> the hash of the resulting TimeOffset.  This is going to break existing
> hash indexes on intervals, but there seems little choice...

Consider hashing the result of justify_interval().

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2009-04-04 04:32:00
Subject: Re: BUG #4748: hash join and sort-merge join make different results
Previous:From: Tom LaneDate: 2009-04-03 20:18:25
Subject: Re: BUG #4748: hash join and sort-merge join make different results

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group