Re: is cachedFetchXid ever invalidated? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: is cachedFetchXid ever invalidated?
Date
Msg-id 1291297318-sup-9022@alvh.no-ip.org
Whole thread Raw
In response to is cachedFetchXid ever invalidated?  (Jeff Davis <pgsql@j-davis.com>)
List 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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: FK's to refer to rows in inheritance child
Next
From: Dimitri Fontaine
Date:
Subject: Re: WIP patch for parallel pg_dump