LinkedList

From: "Ray Madigan" <ray(at)madigans(dot)org>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: LinkedList
Date: 2006-04-26 16:09:56
Message-ID: IEELLOAPJFACBDBGELGHIEKMEDAA.ray@madigans.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I have a table that I created that implements a linked list. I am not an
expert SQL developer and was wondering if there are known ways to traverse
the linked lists. Any information that can point me in the direction to
figure this out would be appreciated. The table contains many linked lists
based upon the head of the list and I need to extract all of the nodes that
make up a list. The lists are simple with a item and a link to the history
item so it goes kind of like:

1, 0
3, 1
7, 3
9, 7
...

Any suggestions would be helpful, or I will have to implement the table
differently.

Thanks
Ray Madigan

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2006-04-26 16:33:15 Re: Migrating a Database to a new tablespace
Previous Message Scott Marlowe 2006-04-26 15:59:18 Re: LinkedList