Skip site navigation (1) Skip section navigation (2)

Re: Incorrect description of xmax and xip in functions docs

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Incorrect description of xmax and xip in functions docs
Date: 2008-09-07 11:14:23
Message-ID: 1220786063.3913.8.camel@ebony.2ndQuadrant (view raw or flat)
Thread:
Lists: pgsql-docs
On Sat, 2008-09-06 at 21:31 -0400, Bruce Momjian wrote:
> Applied, and attached.

Thanks.

> > And for txid_visible_in_snapshot() comment added:
> > "Function should not be used with subtransaction xids. It is possible
> > that this function will return a true result for a subtransaction xid
> > that was actually still in progress at the time of the snapshot".
> 
> I think the cleaner solution is to throw an appropriate error if a
> subtransaction xid is used, rather than adding documentation.

Or maybe check subtrans for it, as it really should be doing.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


In response to

Responses

pgsql-docs by date

Next:From: Bruce MomjianDate: 2008-09-07 12:31:48
Subject: Re: Incorrect description of xmax and xip in functions docs
Previous:From: Bruce MomjianDate: 2008-09-07 01:31:02
Subject: Re: Incorrect description of xmax and xip in functions docs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group