Re: Selecting tree data

From: "Pat Maddox" <pergesu(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Selecting tree data
Date: 2007-10-26 15:56:27
Message-ID: 810a540e0710260856g29409edbt87518909ed79cbf5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/26/07, Michael Glaesemann <grzm(at)seespotcode(dot)net> wrote:
>
> On Oct 26, 2007, at 4:19 , Gregory Stark wrote:
>
> > "D. Dante Lorenso" <dante(at)lorenso(dot)com> writes:
> >
> >> You need to look at the connectby function which is part of contrib.
> >
> > Or ltree. Depending on how static your data is and what else you
> > need to do
> > with it.
>
> Or adjacency list or nested set (or even nested intervals).
>
> Michael Glaesemann
> grzm seespotcode net
>
>
>

A bunch of options so far...but there's really no way to do this with
standard SQL?

I'm starting to feel I'm better off just pulling the data I need and
then building the tree structure in my app code.

Pat

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tfinneid 2007-10-26 15:56:31 Re: select count() out of memory
Previous Message Darnell Brawner 2007-10-26 15:28:00 cases in rules problem