hierarchical order equivalent - Mailing list pgsql-sql

From Grant Furick
Subject hierarchical order equivalent
Date
Msg-id 993hvg$j7v$1@news.tht.net
Whole thread Raw
Responses Re: hierarchical order equivalent
List pgsql-sql
Is there an equivalent way to do this Oracle query in Postgres?
Select category_id, parent_category_id, category_nameFROM CategorySTART WITH category_id = 6CONNECT BY PRIOR
category_id= parent_category_idOrder by category_name
 


I am trying to build a hierarchy of inter-related categories.  I want an
easy way to output the tree.  Any ideas?

Thanks,
Grant




pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: What do I do with this error?
Next
From: "Josh Berkus"
Date:
Subject: Re: What do I do with this error?