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

ERROR: failed to build any 4-way joins SQL state: XX000, PostgreSQL 8.2 beta1

From: "JEAN-PIERRE PELLETIER" <pelletier_32(at)sympatico(dot)ca>
To: pgsql-bugs(at)postgresql(dot)org
Subject: ERROR: failed to build any 4-way joins SQL state: XX000, PostgreSQL 8.2 beta1
Date: 2006-10-24 15:27:14
Message-ID: BAY118-F21F664BEEA514B5150A21295010@phx.gbl (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi,

I have a query that throws "ERROR: failed to build any 4-way joins
SQL state: XX000".

Here's an (arguably) simplified version of it that doesn't require any of my 
table:

select
   1
from
   (select 1 as col) t1

   cross join (select 1 as col) t2

   left outer join (select 1 as col) t3
   on  t1.col = t3.col
   and t2.col = t3.col
   and 1 = t3.col

   left outer join (select 1 as col) t4
   on t3.col = t4.col

I am on PostgreSQL 8.2 beta1 under Windows XP Service Pack 2.

Thanks,
Jean-Pierre Pelletier
e-djuster



Responses

pgsql-bugs by date

Next:From: Thomas H.Date: 2006-10-24 15:30:15
Subject: Re: could not rename xlog (was: BUG #2712)
Previous:From: PavelDate: 2006-10-24 14:37:17
Subject: BUG #2716: performance problem with enable_bitmapscan

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group