records chaining - Mailing list pgsql-novice

From tövis
Subject records chaining
Date
Msg-id 009901c5444a$00d1b820$3401a8c0@mainxp
Whole thread Raw
List pgsql-novice
I need record changing history. Of course I need to keep old records, and some how point to it for show changes. First of my idea is to make a single column in every record pointing to his "parent" but after I started thinking how SQL can handle it. Whats your opinion, is it possible to write a recursive SELECT to get all records back to that whats parent reference has no reference (NULL)? At this moment I would be happy to know that is it possible - I'm only planning and migrating an old database, the coding seem to be "far" away.
Thanks in advance
    Gábor Rózsa
 
 

pgsql-novice by date:

Previous
From: "Bob Talbot"
Date:
Subject: Pqintaller for Windows Leaving me with Questions
Next
From: vladimir
Date:
Subject: Re: Migration of postgres 7.3 to postgres 7.4 from one server to another server