Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id E583B9FB1DD for ; Wed, 29 Nov 2006 10:29:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 54664-10 for ; Wed, 29 Nov 2006 10:28:42 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by postgresql.org (Postfix) with ESMTP id 6AA699FA19A for ; Wed, 29 Nov 2006 10:28:59 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so2997250nfb for ; Wed, 29 Nov 2006 06:28:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:sender; b=hUDPJENb4Qcrcx31A5x75MS3dhfRNdaO/n8CFbD6JozzGIhb6GaEkcJrk5BFkEYj2lZqK4aNKSfF4zLiJdmxJ4RBfb759Bsg7iwZ+ImfRFfsV6iOGNasa4p2Js0EKOv8LUOjbtE1TvfuNCbHalOUW5sosZ00l8qZG2VdR9NvJ+4= Received: by 10.49.90.18 with SMTP id s18mr6295664nfl.1164810536962; Wed, 29 Nov 2006 06:28:56 -0800 (PST) Received: from ?192.168.0.71? ( [151.48.197.40]) by mx.google.com with ESMTP id y24sm28156578nfb.2006.11.29.06.28.56; Wed, 29 Nov 2006 06:28:56 -0800 (PST) Message-ID: <456D992A.90903@axa.it> Date: Wed, 29 Nov 2006 15:28:58 +0100 From: Edoardo Ceccarelli Reply-To: eddy@axa.it User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: dump from 8.x restore to 7.3.x Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/235 X-Sequence-Number: 23762 Hi to all, We have a pretty big database that is going for an upgrade (PG7 -> PG8) in the next few days, we have tested all the features of our application but we cannot be sure that everything will work out perfectly (db is managing several blob's only tables that have proven to be pretty hard to configure). I am currently investigating a worst-case-scenario strategy that would be to downgrade the database from PG8 to 7 if anything goes wrong;00 this implies that we: 1) dump from a running PG8 2) remove PG8 and reinstall PG7 3) restore the dump into the running PG7 unfortunately pg_restore complains about the dump header and doesn't restore the db at all, having tried to dump with both -Ft and -Fc flags shall I try the "--ignore-version" option in pg_restore? is there going to be any problem in using this option? (corrupted data, tables, etc.) Thanks, any help appreciated Edoardo