pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-docs <pgsql-docs@postgresql.org>
Subject: Re: Incorrect description of xmax and xip in functions docs
Date: Sun, 07 Sep 2008 12:14:23 +0100
Message-ID: <1220786063.3913.8.camel@ebony.2ndQuadrant> (raw)
In-Reply-To: <200809070131.m871V2j00862@momjian.us>
References: <200809070131.m871V2j00862@momjian.us>


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




view thread (9+ messages)  latest in thread

Message-ID: <1220786063.3913.8.camel@ebony.2ndQuadrant>
Permalink:  ../1220786063.3913.8.camel@ebony.2ndQuadrant/
Also on:    postgresql.org/message-id/1220786063.3913.8.camel@ebony.2ndQuadrant

 · 

reply

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, bruce@momjian.us
  Subject: Re: Incorrect description of xmax and xip in functions docs
  In-Reply-To: <1220786063.3913.8.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