Linked List

From: "Ray Madigan" <ray(at)madigans(dot)org>
To: "Pgsql-Sql-Owner" <pgsql-sql-owner(at)postgresql(dot)org>
Subject: Linked List
Date: 2006-04-26 02:50:59
Message-ID: IEELLOAPJFACBDBGELGHKEJPEDAA.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. 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 Markus Schaber 2006-04-26 08:10:26 Re: Migrating a Database to a new tablespace
Previous Message Tom Lane 2006-04-25 18:13:18 Re: Migrating a Database to a new tablespace