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

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 (view raw or flat)
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

pgsql-bugs by date

Next:From: Devrim GÜNDÜZDate: 2009-04-05 10:28:59
Subject: Re: MD5 checksum or RPM for PostgreSQL 8.7.3
Previous:From: Roman KononovDate: 2009-04-04 05:13:54
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