X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A8E5D3A5C21 for ; Wed, 26 Jan 2005 23:58:00 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74059-01 for ; Wed, 26 Jan 2005 23:57:53 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 402733A5C2D for ; Wed, 26 Jan 2005 23:57:54 +0000 (GMT) Received: (qmail 28038 invoked from network); 27 Jan 2005 00:58:12 +0100 Received: from unknown (HELO musicbox) (boutiquenumerique-lists@192.168.0.2) by boutiquenumerique.com with SMTP; 27 Jan 2005 00:58:12 +0100 To: pgsql-general@postgresql.org Subject: Re: Recursive queries References: <20050125185833.GK29308@svana.org> <1106681095.3214.6.camel@debian> <20050125194959.GL29308@svana.org> <1106687039.3688.4.camel@debian> Message-ID: From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 27 Jan 2005 00:59:58 +0100 In-Reply-To: <1106687039.3688.4.camel@debian> User-Agent: Opera M2/7.54 (Linux, build 751) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/1524 X-Sequence-Number: 72473 Check out ltree http://www.sai.msu.su/~megera/postgres/gist/ltree/ On Tue, 25 Jan 2005 22:03:58 +0100, tmp wrote: >> I don't think anybody has written the syntactic sugar, but someone did >> write a function that provides equivalent output. > > I think it is important that the funcionality lies in the database > engine itself: In that way it can more efficiently make use of the > optimizer. > > Also, I think this "recursive" feature is *the* most important upcoming > improvements: Currently there are simply no efficient way of fetching > linked structures, which however is quite common in many areas. > > Regards > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if > your > joining column's datatypes do not match >