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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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