From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Manley <bitneuker666@hotmail.com>
Cc: pgsql-sql@hub.org
Subject: Re: How do you detect row version changes in PostgreSQL?
Date: Tue, 29 Aug 2000 10:04:11 -0400
Message-ID: <1395.967557851@sss.pgh.pa.us> (raw)
In-Reply-To: <OE7Fsxf4yp8ARf3sllN00000660@hotmail.com>
References: <OE7Fsxf4yp8ARf3sllN00000660@hotmail.com>
"Craig Manley" <bitneuker666@hotmail.com> writes:
> Some databases have a hidden field that contains a row version key.
> Everytime an update is performed on a row the value of the version field
> changes. Does PostgreSQL have a similar hidden field?
See xmin (and also cmin if you need to keep track of multiple changes
intra-transaction). It might not be defined quite the way you want,
but if you're not picky about what a "version number" is, it'll do.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, bitneuker666@hotmail.com, pgsql-sql@hub.org
Subject: Re: How do you detect row version changes in PostgreSQL?
In-Reply-To: <1395.967557851@sss.pgh.pa.us>
References: <OE7Fsxf4yp8ARf3sllN00000660@hotmail.com> <1395.967557851@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox