Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 09B4C632581 for ; Fri, 3 Apr 2009 14:39:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 27678-10 for ; Fri, 3 Apr 2009 14:39:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 9FD3A6322C7 for ; Fri, 3 Apr 2009 14:39:00 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n33Hcrfp018512; Fri, 3 Apr 2009 13:38:53 -0400 (EDT) To: Simon Riggs cc: Matthew Wakeling , pgsql-performance@postgresql.org Subject: Re: plpgsql arrays In-reply-to: <1238779839.5444.220.camel@ebony.2ndQuadrant> References: <603c8f070904030647u1c92e13ew53612ac0011ed7c1@mail.gmail.com> <28595.1238767442@sss.pgh.pa.us> <1238779839.5444.220.camel@ebony.2ndQuadrant> Comments: In-reply-to Simon Riggs message dated "Fri, 03 Apr 2009 18:30:39 +0100" Date: Fri, 03 Apr 2009 13:38:53 -0400 Message-ID: <18511.1238780333@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/79 X-Sequence-Number: 33446 Simon Riggs writes: > On Fri, 2009-04-03 at 10:04 -0400, Tom Lane wrote: >> I don't actually believe that a standard merge join algorithm will work >> with an intransitive join condition ... > I think it's a common enough problem that having a non-standard join > algorithm written for that case would be interesting indeed. Sounds like a great PhD thesis topic. regards, tom lane