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 A8865D1D997 for ; Mon, 24 Nov 2003 13:51:34 +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 94260-02 for ; Mon, 24 Nov 2003 09:51:07 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 28DCBD1D946 for ; Mon, 24 Nov 2003 09:51:04 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hAODp4Nu061887 for ; Mon, 24 Nov 2003 13:51:04 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hAODhCMC060571 for pgsql-admin@postgresql.org; Mon, 24 Nov 2003 13:43:12 GMT From: "Gerwin Philippo" X-Newsgroups: comp.databases.postgresql.admin References: <3fc1eecd$0$1508$e4fe514c@news.xs4all.nl> Subject: Re: Cannot read back pg_dump from 7.2 into 7.4 Date: Mon, 24 Nov 2003 14:43:14 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Lines: 29 Message-ID: <3fc20af3$0$1493$e4fe514c@news.xs4all.nl> X-Complaints-To: abuse@xs4all.nl To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/411 X-Sequence-Number: 11398 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? > >