X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1A1BDD1B4FE for ; Tue, 23 Sep 2003 04:01:47 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 47423-02 for ; Tue, 23 Sep 2003 01:01:15 -0300 (ADT) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id 6CA81D1B4E7 for ; Tue, 23 Sep 2003 01:01:14 -0300 (ADT) Received: from [192.168.5.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.1.3) with ESMTP-TLS id 180110; Mon, 22 Sep 2003 20:17:40 -0700 Message-ID: <3F6FC51F.6090105@joeconway.com> Date: Mon, 22 Sep 2003 20:59:27 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Merrall, Graeme" Cc: pgsql-sql@postgresql.org Subject: Re: Oracle 'connect by prior' now eaiser in 7.3? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/267 X-Sequence-Number: 15245 Merrall, Graeme wrote: > Am I right in thinking that recursive procedures and procs returning row > sets would allow us to better emulate this behaviour? As anyone looked > at it yet? > See connectby() in contrib/tablefunc. Someone was working on SQL99 recursive queries but it didn't get done for 7.4 -- perhaps it will be in 7.5. In the meantime, connectby() is in 7.3 and might work for you. HTH, Joe