Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 144041337BCF for ; Mon, 2 May 2011 00:18:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 53936-05 for ; Mon, 2 May 2011 03:18:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kracon.dk (kracon.net [81.7.185.66]) by mail.postgresql.org (Postfix) with ESMTP id 0AC7D1336FA7 for ; Mon, 2 May 2011 00:18:20 -0300 (ADT) Received: (qmail 639 invoked from network); 2 May 2011 03:20:23 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 2 May 2011 03:20:23 -0000 Message-ID: <4DBE2279.2080004@krap.dk> Date: Mon, 02 May 2011 05:18:17 +0200 From: Svenne Krap User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110430 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: Tom Lane CC: pgsql-sql@postgresql.org Subject: Re: Multiple recursive part possible? References: <4DBDB854.1010400@krap.dk> <26285.1304287949@sss.pgh.pa.us> In-Reply-To: <26285.1304287949@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/3 X-Sequence-Number: 35287 On 02-05-2011 00:12, Tom Lane wrote: > Leave out the second "with recursive". WITH introduces a list of > name-AS-subselect clauses, not just one. > Thanks :) Svenne