Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 22A43B5DC05 for ; Mon, 29 Aug 2011 13:54:54 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 69047-04 for ; Mon, 29 Aug 2011 16:54:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from depesz.com (andy.depesz.com [88.198.47.100]) by mail.postgresql.org (Postfix) with ESMTP id B587AB5DC06 for ; Mon, 29 Aug 2011 13:54:43 -0300 (ADT) Received: from andy.depesz.com ([88.198.47.100] helo=depesz.com) by depesz.com with esmtpa (Exim 4.76) (envelope-from ) id 1Qy56f-0007tb-CQ; Mon, 29 Aug 2011 18:54:41 +0200 Date: Mon, 29 Aug 2011 18:54:41 +0200 From: hubert depesz lubaczewski To: Bruce Momjian Cc: PostgreSQL-development Subject: Re: [GENERAL] pg_upgrade problem Message-ID: <20110829165441.GA28573@depesz.com> Reply-To: depesz@depesz.com References: <20110825205318.GA25225@depesz.com> <201108260418.p7Q4Itk17514@momjian.us> <20110826152834.GA7886@depesz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110826152834.GA7886@depesz.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201108/1292 X-Sequence-Number: 194047 On Fri, Aug 26, 2011 at 05:28:35PM +0200, hubert depesz lubaczewski wrote: > On Fri, Aug 26, 2011 at 12:18:55AM -0400, Bruce Momjian wrote: > > > > OK, this was very helpful. I found out that there is a bug in current > > 9.0.X, 9.1.X, and HEAD that I introduced recently when I excluded temp > > tables. (The bug is not in any released version of pg_upgrade.) The > > attached, applied patches should fix it for you. I assume you are > > running 9.0.X, and not 9.0.4. > > pg_upgrade worked. Now I'm doing reindex and later on vacuumdb -az. vacuumdb failed. The fail looks very similar to the one I had on 9.0.4. After long vacuum I got: INFO: vacuuming "pg_toast.pg_toast_106668498" vacuumdb: vacuuming of database "etsy_v2" failed: ERROR: could not access status of transaction 3429738606 DETAIL: Could not open file "pg_clog/0CC6": No such file or directory. Unfortunately at the moment, I no longer have the old (8.3) setup, but I do have the 9.0.X and will be happy to provide any info you might need to help me debug/fix the problem. Best regards, depesz