X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9BD153CC4F3 for ; Sat, 18 Dec 2004 09:27:05 +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 97706-08 for ; Sat, 18 Dec 2004 09:26:52 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 118BC3B736C for ; Sat, 18 Dec 2004 09:26:53 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id iBI9QXnP015079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 18 Dec 2004 02:26:35 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id iBI9QX6o011309; Sat, 18 Dec 2004 02:26:33 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id iBI9QXGP011308; Sat, 18 Dec 2004 02:26:33 -0700 (MST) (envelope-from mfuhr) Date: Sat, 18 Dec 2004 02:26:33 -0700 From: Michael Fuhr To: Marcus Krause Cc: pgsql-sql@postgresql.org Subject: Re: get branches & childs from database Message-ID: <20041218092633.GA11248@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/132 X-Sequence-Number: 19752 On Thu, Dec 16, 2004 at 10:23:23PM +0100, Marcus Krause wrote: > I'm trying to build up a menu by sending ONE query to database. See the contrib/ltree module in the PostgreSQL source, or in whatever package you must install to get the contributed modules. ltree provides easy ways to query tree-like structures. -- Michael Fuhr http://www.fuhr.org/~mfuhr/