Re: ERROR: failed to build any 3-way joins

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joshua Tolley <eggyknap(at)gmail(dot)com>
Cc: "Jehan-Guillaume (ioguix) de Rorthais" <jgdr(at)dalibo(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: ERROR: failed to build any 3-way joins
Date: 2010-05-24 03:24:07
Message-ID: 22595.1274671447@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Joshua Tolley <eggyknap(at)gmail(dot)com> writes:
> On Sun, May 23, 2010 at 2:11 PM, Jehan-Guillaume (ioguix) de Rorthais
> <jgdr(at)dalibo(dot)com> wrote:
>> Here is how to reproduce the bug:
>> postgres=# SELECT rolname FROM pg_catalog.pg_roles AS r, pg_auth_members AS m
>> WHERE r.oid=m.roleid
>> AND member IN (
>> SELECT oid FROM pg_catalog.pg_roles
>> WHERE rolname='postgres')
>> ORDER BY rolname;
>> ERROR: failed to build any 3-way joins

> Just a guess, but I'd bet this was fixed by the very recent commit to
> fix this: http://archives.postgresql.org/pgsql-hackers/2010-05/msg01203.php

Worksforme in CVS HEAD, so apparently it is that same bug. Thanks for
the report though!

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jakub Ouhrabka 2010-05-24 07:52:14 Re: psql or pgbouncer bug?
Previous Message Joshua Tolley 2010-05-24 00:53:10 Re: ERROR: failed to build any 3-way joins