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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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