Row versioning - Mailing list pgsql-general

From Ruediger Herrmann
Subject Row versioning
Date
Msg-id 11331.1098397654@www51.gmx.net
Whole thread Raw
Responses Re: Row versioning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi all,

has anyone implemented row versions/timestamps in PostgreSQL or any
thoughts on this?
Did I hit the right term? What I want to achieve is optimistic
concurrency beyound transaction boundaries. When retrieving data
I would also retrieve the row version and later on, in a different
transaction, before updating the data, I could check if was unchanged.
(row version at read time = row version at update time)

What are the pro's and con's about adding a "sequence" row that is
incremented by a trigger each time the row is updated?
Is having a timestamp row instand better?

Regards
Ruediger


--
Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD
++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++


pgsql-general by date:

Previous
From: Chris Browne
Date:
Subject: Slony-I 1.0.4 Released
Next
From: Jeff Davis
Date:
Subject: Re: Two questions from the boss (SQL:2003 && scalability)