X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 255F711F60AF for ; Wed, 26 Apr 2006 12:53:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 36610-07 for ; Wed, 26 Apr 2006 12:52:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by postgresql.org (Postfix) with ESMTP id 438FF11F623A for ; Wed, 26 Apr 2006 12:52:48 -0300 (ADT) Received: from nefesh (ip16.gte154.dsl-acs2.sea.iinet.com [207.202.154.16]) by smtp2.pacifier.net (Postfix) with SMTP id 9327488A68 for ; Wed, 26 Apr 2006 08:52:47 -0700 (PDT) From: "Ray Madigan" To: Subject: LinkedList Date: Wed, 26 Apr 2006 09:09:56 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/179 X-Sequence-Number: 24988 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