Re: Row versioning - Mailing list pgsql-general

From Tom Lane
Subject Re: Row versioning
Date
Msg-id 13021.1098401591@sss.pgh.pa.us
Whole thread Raw
In response to Row versioning  ("Ruediger Herrmann" <ruediger.herrmann@gmx.de>)
List pgsql-general
"Ruediger Herrmann" <ruediger.herrmann@gmx.de> writes:
> 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.

You could use the xmin system column for this.

            regards, tom lane

pgsql-general by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Upcoming v8.0.0 Beta 4 ...
Next
From: Dennis Gearon
Date:
Subject: correct example of a functional index usage?