Re: recursive sql

From: sad <sad(at)bankir(dot)ru>
To: "Pgsql-Sql" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: recursive sql
Date: 2003-09-06 05:05:02
Message-ID: 200309060905.02921.sad@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Good day

On Friday 05 September 2003 21:41, you wrote:
> can anyone recommend a good reference source for doing recursive sql on
> postgresql? i want to do something similar to a BOM expansion. (i.e. i need
> to traverse a self-referencing table that stores a tree structure and
> answer a question like "Get me A and all of A's descendents")

"recursive queries" are much slower than queries to a nested-tree.
please find something readable on subject "nested-tree" or ask me to
send you this. You'll see that the maintaining of a nested-tree is
covered by its good profit.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ian Barwick 2003-09-06 05:21:26 Re: Name the Parameters
Previous Message Kumar 2003-09-06 04:42:53 Name the Parameters