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

Re: is cachedFetchXid ever invalidated?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: is cachedFetchXid ever invalidated?
Date: 2010-12-02 13:43:02
Message-ID: 1291297318-sup-9022@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Excerpts from Jeff Davis's message of mié dic 01 22:48:36 -0300 2010:
> I can't see any place that "cachedFetchXid" is ever invalidated.
> Shouldn't it be invalidated before transaction ID wraparound?
> 
> It's difficult to construct a test case to show whether this is a
> problem or not,

Couldn't you just create a C function that advanced the Xid counter by,
say, 100k?

-- 
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

pgsql-hackers by date

Next:From: Yeb HavingaDate: 2010-12-02 13:48:28
Subject: Re: FK's to refer to rows in inheritance child
Previous:From: Andrew DunstanDate: 2010-12-02 13:41:54
Subject: Re: When will 8.1 be EOLed?

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