Linked List - Mailing list pgsql-sql

From Ray Madigan
Subject Linked List
Date
Msg-id IEELLOAPJFACBDBGELGHKEJPEDAA.ray@madigans.org
Whole thread Raw
Responses Re: Linked List  ("Ben K." <bkim@coe.tamu.edu>)
List 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.  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



pgsql-sql by date:

Previous
From: "WillemF"
Date:
Subject: Re: Moving around in a SQL database
Next
From: Phillip Tornroth
Date:
Subject: Multi-Column Constraints and Null Values