Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 4DE192E0038 for ; Wed, 16 Apr 2008 12:23:55 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 45059-01 for ; Wed, 16 Apr 2008 12:23:45 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id 497B92E0063 for ; Wed, 16 Apr 2008 12:23:45 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m3GFNe1e008623; Wed, 16 Apr 2008 11:23:40 -0400 (EDT) To: Achilleas Mantzios cc: pgsql-admin@postgresql.org Subject: Re: Examining very large dumps In-reply-to: <200804161235.27157.achill@matrix.gatewaynet.com> References: <200804161235.27157.achill@matrix.gatewaynet.com> Comments: In-reply-to Achilleas Mantzios message dated "Wed, 16 Apr 2008 12:35:26 +0300" Date: Wed, 16 Apr 2008 11:23:40 -0400 Message-ID: <8622.1208359420@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/161 X-Sequence-Number: 28925 Achilleas Mantzios writes: > Hi, i just started the process of migrating from 7.4 to 8.3.1. > On restoring, apart from the easily explainable ERRORs (both in DDL, COPY), i got some ugly ERRORs > denoting foreign key constraint violations. > Since the dump is 35 Gbytes, i'd like your advice for examining, editing, extracting portions of large dumps, Did you make the dump using 8.3's pg_dump? IIRC 7.4 still didn't know about ordering the elements of a dump to avoid forward-reference problems. regards, tom lane