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 628F63A568F for ; Tue, 25 Jan 2005 21:04:15 +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 20102-04 for ; Tue, 25 Jan 2005 21:04:04 +0000 (GMT) Received: from cicero0.cybercity.dk (cicero0.cybercity.dk [212.242.40.52]) by svr1.postgresql.org (Postfix) with ESMTP id 1E7BD3A55E8 for ; Tue, 25 Jan 2005 21:04:05 +0000 (GMT) Received: from user3.cybercity.dk (user3.cybercity.dk [212.242.41.36]) by cicero0.cybercity.dk (Postfix) with ESMTP id B6BA328CF9; Tue, 25 Jan 2005 22:03:59 +0100 (CET) Received: from [10.0.0.100] (port265.ds1-vbr.adsl.cybercity.dk [212.242.116.18]) by user3.cybercity.dk (Postfix) with ESMTP id 6F86D93C63; Tue, 25 Jan 2005 22:03:59 +0100 (CET) Subject: Re: Recursive queries From: tmp To: Martijn van Oosterhout Cc: pgsql-general@postgresql.org In-Reply-To: <20050125194959.GL29308@svana.org> References: <20050125185833.GK29308@svana.org> <1106681095.3214.6.camel@debian> <20050125194959.GL29308@svana.org> Content-Type: text/plain Date: Tue, 25 Jan 2005 22:03:58 +0100 Message-Id: <1106687039.3688.4.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/1449 X-Sequence-Number: 72397 > 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