Re: left join bug? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: left join bug?
Date
Msg-id 9031.976725440@sss.pgh.pa.us
Whole thread Raw
In response to left join bug?  (Max Khon <fjoe@iclub.nsu.ru>)
List pgsql-hackers
Max Khon <fjoe@iclub.nsu.ru> writes:
> test=# select a.id, b.id from a left join b using(id);
>  id | id 
> ----+----
>  43 |   
>  45 |   
> (2 rows)

> test=# select * from a;
>  id 
> ----
>  45
>  43
>  34
> (3 rows)

Ugh.  It looks like mergejoin must be mishandling the first left-side
item when the right side is empty.  Will take a look...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "DÅ"
Date:
Subject: Writing essay, please help!
Next
From: Peter Eisentraut
Date:
Subject: Re: Re: COPY BINARY file format proposal