Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 54897B5DD16 for ; Mon, 5 Sep 2011 12:56:46 -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 70013-09 for ; Mon, 5 Sep 2011 15:56:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id BFDC5B5DD0E for ; Mon, 5 Sep 2011 12:56:39 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p85FuY005837; Mon, 5 Sep 2011 11:56:34 -0400 (EDT) From: Bruce Momjian Message-Id: <201109051556.p85FuY005837@momjian.us> Subject: Re: [GENERAL] pg_upgrade problem In-Reply-To: <20110905154850.GA30525@depesz.com> To: depesz@depesz.com Date: Mon, 5 Sep 2011 11:56:34 -0400 (EDT) CC: PostgreSQL-development X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" 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/161 X-Sequence-Number: 194350 hubert depesz lubaczewski wrote: > 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. I will announce the known bug and the fix. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +