Re: Using Array-Values in subselect - Mailing list pgsql-sql

From Roberto Mello
Subject Re: Using Array-Values in subselect
Date
Msg-id 3A11AB5F.C3F2C467@cc.usu.edu
Whole thread Raw
In response to Using Array-Values in subselect  (Alvar Freude <alvar.freude@merz-akademie.de>)
List pgsql-sql
Alvar Freude wrote:
> 
> Hi,
> 
> i want to create a linked structure of values. Each text has an id, an
> array of children ids and the value itself.
Looks like you want something similar to Oracle's CONNECT BY statement.
There are some solutions to that. At OpenACS we had to deal with that so
implemented something like what you described here. However, the methods described by Joe Celko is his book "SQL For
Smarties" on chapters 28 and 29 (I think) are better and more robust. If
you search for "trees" and related topics at the openacs.org and
arsdigita.com's web/db web bulletin boards, you'll find several hits.
-Roberto Mello

P.S: I know this doesn't directly anwser your question, but points you
to where to find the answer for yourself.
-- 
Computer Science            Utah State University
Space Dynamics Laboratory        Web Developer
USU Free Software & GNU/Linux Club     http://fslc.usu.edu
My home page - http://www.brasileiro.net/roberto


pgsql-sql by date:

Previous
From: Alvar Freude
Date:
Subject: Using Array-Values in subselect
Next
From: "Edmar Wiggers"
Date:
Subject: RE: Using Array-Values in subselect