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

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Roman Kononov <kononov(at)ftml(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4748: hash join and sort-merge join make different results
Date: 2009-04-03 19:38:18
Message-ID: 3073cc9b0904031238m50bd67c1mf71de8802d6de5a8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Apr 3, 2009 at 2:10 PM, Alvaro Herrera
<alvherre(at)commandprompt(dot)com> wrote:
> Roman Kononov wrote:
>
>> Description:        hash join and sort-merge join make different results
>> Details:
>>
>> test-std=# create table t(s int,i interval);
>> CREATE TABLE
>> test-std=# insert into t values (0,'30 days'), (1,'1 month');
>> INSERT 0 2
>> test-std=# select * from t as a, t as b where a.i=b.i;
>
> Reproducible in 8.2.13 as well ..
>

and the same in HEAD

PS: the analyze not always brings the problems, i had to turn off
enable_mergejoin and enable_nestloop

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dickson S. Guedes 2009-04-03 19:46:51 Re: BUG #4748: hash join and sort-merge join make different results
Previous Message Alvaro Herrera 2009-04-03 19:10:13 Re: BUG #4748: hash join and sort-merge join make different results