From: Josh Berkus <josh@agliodbs.com>
To: Paulo Rodrigues <prodrigues@vianetworks.pt>
To: pgsql-sql@postgresql.org
Subject: Re: Hierarchical queries
Date: Tue, 15 Jan 2002 08:33:55 -0800
Message-ID: <web-601997@davinci.ethosmedia.com> (raw)
In-Reply-To: <3C4430FF.30803@vianetworks.pt>
Paulo,
> how do you usually handle hierarchical (tree-like) queries? I'm sure someone
> else needed this already.
Yup!
Please see:
http://techdocs.postgresql.org/
... which has at least one article on trees.
Also, Joe Celko's book, SQL for Smarties ( reviewed at
http://techdocs.postgresql.org/bookreviews.php ) has chapters on the two main
approaches to tree structures in fairly exhaustive detail. Buy the book. Or,
the condensed version of some of that information was posted to the list by
Joe Celko last summer; you can hunt for it in the archives.
-Josh Berkus
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, prodrigues@vianetworks.pt
Subject: Re: Hierarchical queries
In-Reply-To: <web-601997@davinci.ethosmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox