X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id DD915D1D8BF for ; Mon, 24 Nov 2003 22:22:49 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 58536-01 for ; Mon, 24 Nov 2003 18:22:19 -0400 (AST) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by svr1.postgresql.org (Postfix) with ESMTP id 2ED47D1D8BB for ; Mon, 24 Nov 2003 18:22:17 -0400 (AST) Received: from [192.168.0.13] ([68.105.167.134]) by lakemtao03.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031124222216.LKMA2192.lakemtao03.cox.net@[192.168.0.13]>; Mon, 24 Nov 2003 17:22:16 -0500 From: Robert Treat To: "Gerwin Philippo" , pgsql-admin@postgresql.org Subject: Re: Cannot read back pg_dump from 7.2 into 7.4 Date: Mon, 24 Nov 2003 17:22:15 -0500 User-Agent: KMail/1.5 References: <3fc1eecd$0$1508$e4fe514c@news.xs4all.nl> <3fc20af3$0$1493$e4fe514c@news.xs4all.nl> In-Reply-To: <3fc20af3$0$1493$e4fe514c@news.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311241722.15996.xzilla@users.sourceforge.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/415 X-Sequence-Number: 11402 A few thoughts: what command are you using to produce the 7.2 dump? what is the exact version of the 7.2 server? Try and see if you can get a good dump using the 7.4 pg_dump against the 7.2 database. Robert Treat On Monday 24 November 2003 08:43, Gerwin Philippo wrote: > Oops, last message was not entirely correct: Unfortunately the 7.2 version > is also unable to read back the dumps it made. The dumps created look > completely impossible to run to me: > > line100: create view "vw1" as select field1 from table1; > > line200: create table1 (field1 integer); > > If the server went down today, I'd be in big trouble! Please help! > > Gerwin > > "Gerwin Philippo" schreef in bericht > news:3fc1eecd$0$1508$e4fe514c@news.xs4all.nl... > > > I'm testing 7.4, and tried to read a pg_dump file created in 7.2 into a > > 7.4 > > > database. > > I get a lot of error messages when creating views from tables because the > > tables are not created yet. > > Looking into the dump file, the order in which objects are created looks > > funny: first some views, then the tables on which these views are based. > > This seems impossible to me, but the odd thing is that with the 7.2 > > server > > I > > > can read this dump into a new database without any problems. > > Any ideas? > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL