[GENERAL] Spurious rows returned with left join?

2006-04-04 Thread Edmund Bacon
I think I have stumbled on a bug, though I'm not entirely sure about that. Things do seem to get a little fuzzy when using outer joins Consider the following: create table t1(t1_a int); insert into t1 values (1); insert into t1 values (2); insert into t1 values (3); create table

Re: [GENERAL] Spurious rows returned with left join?

2006-04-04 Thread Tom Lane
Edmund Bacon [EMAIL PROTECTED] writes: Consider the following: ... Note that I get 2 rows where t1_a = 3. Are you getting a Merge Right Join plan for that? If so, you're likely getting bit by this bug: 2006-03-17 14:38 tgl * src/: backend/executor/nodeMergejoin.c,

Re: [GENERAL] Spurious rows returned with left join?

2006-04-04 Thread Edmund Bacon
Tom Lane wrote: Edmund Bacon [EMAIL PROTECTED] writes: Consider the following: ... Note that I get 2 rows where t1_a = 3. Are you getting a Merge Right Join plan for that? If so, you're likely getting bit by this bug: 2006-03-17 14:38 tgl That's correct. After doing an