Re: Row versioning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ruediger Herrmann" <ruediger(dot)herrmann(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Row versioning
Date: 2004-10-21 23:33:11
Message-ID: 13021.1098401591@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ruediger Herrmann" <ruediger(dot)herrmann(at)gmx(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vic Cekvenich 2004-10-21 23:52:21 repost(gmane): sql update max smartries
Previous Message Vic Cekvenich 2004-10-21 23:14:15 sql update max smartries