Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 7A5ADB5DCCB for ; Mon, 5 Sep 2011 12:49:00 -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 53993-06 for ; Mon, 5 Sep 2011 15:48:54 +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 2A9C3B5DC3B for ; Mon, 5 Sep 2011 12:48:53 -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 1R0bPm-0008Ec-SL; Mon, 05 Sep 2011 17:48:51 +0200 Date: Mon, 5 Sep 2011 17:48:50 +0200 From: hubert depesz lubaczewski To: Bruce Momjian Cc: PostgreSQL-development Subject: Re: [GENERAL] pg_upgrade problem Message-ID: <20110905154850.GA30525@depesz.com> Reply-To: depesz@depesz.com References: <20110831174550.GA31255@depesz.com> <201109010154.p811sKm18831@momjian.us> <20110901060551.GA16941@depesz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110901060551.GA16941@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: 201109/160 X-Sequence-Number: 194349 On Thu, Sep 01, 2011 at 08:05:51AM +0200, hubert depesz lubaczewski wrote: > On Wed, Aug 31, 2011 at 09:54:20PM -0400, Bruce Momjian wrote: > > Working with depesz, I have found the cause. The code I added to fix > > pg_upgrade in 9.0.4 and earlier releases didn't handle old 8.3 servers > > properly. I mistakenly processed toast table with the same pg_dump > > query as used for pre-8.4 toast tables, not realizing those were not > > functional because there were no reloptions for toast tables in pre-8.4. > > Thanks a lot. Will test and post results (around sunday/monday I guess). All worked. pg_upgrade/vacuum didn't raise any errors. Will check some random queries too, but don't expect anything to break. thanks again for quick help. Best regards, depesz