Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 3A51C2E3175 for ; Mon, 17 Dec 2007 19:22:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 04561-06 for ; Mon, 17 Dec 2007 19:21:58 -0400 (AST) Received: from web36204.mail.mud.yahoo.com (web36204.mail.mud.yahoo.com [209.191.68.230]) by postgresql.org (Postfix) with SMTP id B9B432E314E for ; Mon, 17 Dec 2007 19:22:12 -0400 (AST) Received: (qmail 97155 invoked by uid 60001); 17 Dec 2007 23:22:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=pcWxAAi3NfTLORka2LOWBJRnOWtgI6t3SQmzUFjchLa0RnPjemrlcCkQrOhSx4RuBa8CGnkvUrkNAwBJZQUhM0yscghnkdWFPyTbjg2e/uiAsV70JcjSaFTNKHkFQADCslW9PzfhSdYwCvxP1lUjsFXg2jH31BP++KrNfbqyZeA=; X-YMail-OSG: pJWgUSkVM1mzbqQezDEvQx4dIWjOqRzKM1pjoUTB4T2LrunXbOEFBkuLYrznFfuWRbhaVa8cH.kOVq6nwS9Nvaykf5ZiGHL7YDHxNPaGJjwFFaB9tiw- Received: from [200.140.200.133] by web36204.mail.mud.yahoo.com via HTTP; Mon, 17 Dec 2007 20:22:11 ART Date: Mon, 17 Dec 2007 20:22:11 -0300 (ART) From: "A.Burbello" Subject: Re: Dump database more than 1 flat file To: Postgres Adm List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <110808.75802.qm@web36204.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/151 X-Sequence-Number: 27668 Thank you for your response! I tested the split command and I got another problem because for each file doesn't have the "COPY" header. As well I said early, one table has more than 30G and I need to import to another server (linux), but by dvd media because doens't have network connection. Whats the best way to do this. Any suggestion? If doesn't have another way, how can I put the "header" in the begin of file without open? With "cat >>" command I put in the end. Could you help me? Once again, thank you! --- Scott Marlowe escreveu: > On Dec 17, 2007 2:06 PM, A.Burbello > wrote: > > I consider this way a good practice to transport > the > > files. This is because I have table that has more > than > > 30GB. > > But if the OS was windows, couldn't split the > files > > because postgres doesn't has this feature! > > Could be a good option if postgres had native. > > > > Weel, I will try this: > > eg: $ pg_dump postgres -U postgres -f split.txt | > > split --bytes=10m > > http://gnuwin32.sourceforge.net/packages/coreutils.htm > > for now. I used these back in the day (NT4.0 SP4 or > so) and they > worked a charm back then. Heck, even ln worked ( in > a manner of > speaking ) back then. > > ---------------------------(end of > broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will > ignore your desire to > choose an index scan if your joining column's > datatypes do not > match > Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/