Re: Hierarchical queries

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Paulo Rodrigues <prodrigues(at)vianetworks(dot)pt>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Hierarchical queries
Date: 2002-01-15 16:33:55
Message-ID: web-601997@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Paulo Rodrigues 2002-01-15 16:46:38 Re: Hierarchical queries
Previous Message GB Clark 2002-01-15 15:56:29 Re: Problem with the postgresql operator.