From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-docs <pgsql-docs@postgresql.org>
Subject: Incorrect description of xmax and xip in functions docs
Date: Fri, 05 Sep 2008 16:14:22 +0100
Message-ID: <1220627662.4371.1203.camel@ebony.2ndQuadrant> (raw)
http://developer.postgresql.org/pgdocs/postgres/functions-info.html
xip_list is described as
"Active txids at the time of the snapshot... "
This is incorrect. The xip_list is the list of transactions that are in
progress *and* less than xmax. There may be transactions in progress
with an xid higher than xmax. This will happen frequently in fact. This
is because xmax is defined as the highest/latest completed xid, not the
highest running xid.
Note that there is no way to discover the list of running xids at the
time of the snapshot, from the data we hold about snapshots. Nor can the
snapshot data be used to monitor the number of transactions in progress.
Anyone disagree? If not, I'll patch.
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: simon@2ndQuadrant.com
Subject: Re: Incorrect description of xmax and xip in functions docs
In-Reply-To: <1220627662.4371.1203.camel@ebony.2ndQuadrant>
* 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