Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 8A9896338A5 for ; Wed, 5 May 2010 13:30:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 51261-04 for ; Wed, 5 May 2010 16:29:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id 97ADA632C94 for ; Wed, 5 May 2010 13:29:59 -0300 (ADT) Received: from [192.168.0.105] (pool-96-244-14-10.bltmmd.fios.verizon.net [96.244.14.10]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LzFPp-1NEB482PRJ-0147oV; Wed, 05 May 2010 18:29:50 +0200 Message-ID: <4BE19CFC.4070101@2ndquadrant.com> Date: Wed, 05 May 2010 12:29:48 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Tom Lane CC: Jason Tan Boon Teck , pgsql-admin@postgresql.org Subject: Re: Downgrading v8.4 database to v8.3 References: <4BE1958F.8050708@2ndquadrant.com> <3377.1273076004@sss.pgh.pa.us> In-Reply-To: <3377.1273076004@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX194HQVl9Atv4R25AFE9NeE/m78LeIrOT85jNmJ 0wFkIB3G+4MD7BtrheET2nh08IVph5nLUb55c0c9VQgtzXv3m+ 2w6cr/DPyEhry3TCq0VO8OElYPED9Y6 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201005/71 X-Sequence-Number: 34544 Tom Lane wrote: > That's very likely to fail, and worse to do so silently, because 8.3 > pg_dump doesn't know what's different about 8.4 system catalogs. > I think your only real recourse in this situation is to do a plain dump > from the 8.4 server (with 8.4 pg_dump) and then manually edit the dump > script to remove any 8.4-only syntax. I tried not to sound optimistic about it working. Thought it might be worth a shot though, on the possibility that a simple schema might not trip over any of the 8.4 catalog changes. Another idea here, along the path of manually editing dumps, is to dump from both 8.3 and 8.4 clients and look at the difference between the two, to help get an idea what changed syntax is responsible for the problems. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us