Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0470165040C for ; Mon, 28 Jul 2008 15:49:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 16879-09; Mon, 28 Jul 2008 15:49:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 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 postgresql.org (Postfix) with ESMTP id 00BC465035A; Mon, 28 Jul 2008 15:49:03 -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 m6SIn2c1025698; Mon, 28 Jul 2008 14:49:02 -0400 (EDT) To: Andrew Gierth cc: Tatsuo Ishii , pgsql-hackers@postgresql.org Subject: Re: WITH RECUSIVE patches 0723 In-reply-to: <873altsyay.fsf@news-spur.riddles.org.uk> References: <20080725001513.GF16438@fetter.org> <20080725.092652.105178884.t-ishii@sraoss.co.jp> <87r69gs967.fsf@news-spur.riddles.org.uk> <20080728.162925.23020498.t-ishii@sraoss.co.jp> <877ib6rq6q.fsf@news-spur.riddles.org.uk> <23482.1217264813@sss.pgh.pa.us> <873altsyay.fsf@news-spur.riddles.org.uk> Comments: In-reply-to Andrew Gierth message dated "Mon, 28 Jul 2008 18:39:33 +0100" Date: Mon, 28 Jul 2008 14:49:01 -0400 Message-ID: <25697.1217270941@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: 200807/1317 X-Sequence-Number: 121577 Andrew Gierth writes: > "Tom" == Tom Lane writes: > Tom> That whole business of using the EState to pass tuplestores back > Tom> and forth looks fundamentally broken to me anyway; there's just > Tom> no way it'll be certain to link the right nodes together in > Tom> complicated cases with multiple recursions. > Mutual recursion is not allowed; Well, the spec allows it, so we're going to have to fix this kluge sooner or later, even if it chances not to fail on the subset we currently support. regards, tom lane