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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Roman Kononov <kononov(at)ftml(dot)net>
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 05:25:02
Message-ID: 9358.1238822702@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Roman Kononov <kononov(at)ftml(dot)net> writes:
> On 2009-04-03 23:32 Tom Lane said the following:
>> Uh, what's your point? We have to match interval_eq, not
>> justify_interval.

> For any two intervals a and b, saying that interval_cmp_interval(a,b)==0
> is exactly the same as saying that (aj.month==bj.month && aj.day==bj.day
> && aj.time==bj.time), where aj=justify_interval(a) and
> bj=justify_interval(b).

I doubt that that's exactly true when you take floating-point roundoff
into account ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2009-04-05 10:28:59 Re: MD5 checksum or RPM for PostgreSQL 8.7.3
Previous Message Roman Kononov 2009-04-04 05:13:54 Re: BUG #4748: hash join and sort-merge join make different results