Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UUkS9-0007LI-FK for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Apr 2013 21:08:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UUkS9-0000ly-0M for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Apr 2013 21:08:41 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UUkS8-0000lt-C3 for pgsql-bugs@postgresql.org; Tue, 23 Apr 2013 21:08:40 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UUkS0-0003A7-TI for pgsql-bugs@postgresql.org; Tue, 23 Apr 2013 21:08:39 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1UUkRz-0007MA-Nq; Tue, 23 Apr 2013 17:08:31 -0400 Date: Tue, 23 Apr 2013 17:08:31 -0400 From: Bruce Momjian To: roberto.menoncin@netspa.it Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8107: How to downgrade database from 9.2.3 to 8.4 ? Message-ID: <20130423210831.GE21856@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Tue, Apr 23, 2013 at 04:18:17PM +0000, roberto.menoncin@netspa.it wrote: > The following bug has been logged on the website: > > Bug reference: 8107 > Logged by: Roberto > Email address: roberto.menoncin@netspa.it > PostgreSQL version: 9.2.3 > Operating system: CentOS 5.6 (Final) > Description: > > Hy. > > This is not a bug but a simple request ! > > Is there a way to downgrade a database from version 9.2.3 to 8.4.x ? > > I tried a pg_dump from 9.2.3 and a pg_restore from 9.2.3 TO a 8.4.7 server. > > but I receive several errors. > > Does it exist another way ? I recommend doing a schema dump, adjusting the output file until it generates no errors, then restore that, and then restore the data. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs