Re: Breadth first traversal in PLSQL (How to implement Queue?) - Mailing list pgsql-sql

From Andrew - Supernews
Subject Re: Breadth first traversal in PLSQL (How to implement Queue?)
Date
Msg-id slrncs20ok.s9e.andrew+nonews@trinity.supernews.net
Whole thread Raw
In response to Breadth first traversal in PLSQL (How to implement Queue?)  (Richard Rowell <richard@bowmansystems.com>)
List pgsql-sql
On 2004-12-15, Richard Rowell <richard@bowmansystems.com> wrote:
> I have a table with a unary (recursive) relationship that represents a
> hierarchy.  With the gracious help of Mike Rylander I was able to port a
> TSQL function that would traverse "up" the hierarchy to PL/SQL.  Now I
> need help porting the "down" the hierarchy function.  

Have you looked at contrib/tablefunc's connectby() function?

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


pgsql-sql by date:

Previous
From: Mike Rylander
Date:
Subject: Re: Breadth first traversal in PLSQL (How to implement Queue?)
Next
From: Roberto Fichera
Date:
Subject: Query aid