Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id B45F71337BEF for ; Thu, 5 May 2011 12:37:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 86791-07 for ; Thu, 5 May 2011 15:37:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 149981337BB4 for ; Thu, 5 May 2011 12:37:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p45Fb9C4004485; Thu, 5 May 2011 11:37:09 -0400 (EDT) To: Alvaro Herrera cc: Aleksandr Dushein , pgsql-bugs , Bruce Momjian Subject: Re: BUG #5718: Cannot start postgres (FATAL: invalid cache id: 19) In-reply-to: <1304609194-sup-6618@alvh.no-ip.org> References: <201010200944.o9K9i981095017@wwwmaster.postgresql.org> <29688.1287593836@sss.pgh.pa.us> <1304609194-sup-6618@alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Thu, 05 May 2011 12:28:31 -0300" Date: Thu, 05 May 2011 11:37:09 -0400 Message-ID: <4484.1304609829@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/27 X-Sequence-Number: 30166 Alvaro Herrera writes: > This exact symptom was just reported twice in pgsql-es-ayuda. Upgrading > to 9.0.4 fixed the problem. One of them used pg_upgrade from a previous > version, the other one did not. I'm not sure that it's worthwhile to > expore the underlying cause, but it seems clear that pg_upgrade is not > the only possibly guilty party. Yeah, it seems like we are getting into XID-wraparound-approaching states a lot more easily, or a lot quicker, than I would expect. The original theory about that, which turned out to be true, was that pg_upgrade was bollixing relfrozenxid values. But that makes at least two reports from people who (claimed they) didn't use pg_upgrade. So maybe there is something else going on. I see no way to investigate on the strength of the available evidence though ... regards, tom lane