Re: Bug: Unreferenced temp tables disables vacuum to update xid

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, andrew(at)supernews(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug: Unreferenced temp tables disables vacuum to update xid
Date: 2008-01-08 02:28:21
Message-ID: 20080108022821.GD1828@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joshua D. Drake wrote:
> Alvaro Herrera wrote:

>> Hmm ... that would be strange. Off-the-cuff idea: we introduced code to
>> advance relfrozenxid in CLUSTER, TRUNCATE and table-rewriting forms of
>> ALTER TABLE. Perhaps the problem is that we're neglecting to update it
>> for the toast table there. AFAIR I analyzed the cases and they were all
>> handled, but perhaps I forgot something.
>
> Just to throw another variable into the mix. This machine was a PITR slave
> that was pushed into production about two weeks ago.

Ah, right, I bet we have a smoking gun here.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Kirkwood 2008-01-08 04:31:26 Re: Dynamic Partitioning using Segment Visibility Maps
Previous Message Joshua D. Drake 2008-01-08 02:21:25 Re: Bug: Unreferenced temp tables disables vacuum to update xid