X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9EC2653237 for ; Thu, 24 Mar 2005 16:51:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89888-09 for ; Thu, 24 Mar 2005 16:51:13 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id EDEDF5343F for ; Thu, 24 Mar 2005 16:51:12 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2OGp8f2027633; Thu, 24 Mar 2005 11:51:08 -0500 (EST) To: Alvaro Herrera Cc: Lee Wu , pgsql-admin@postgresql.org Subject: Re: pg_dump, pg_restore, insert vs copy In-reply-to: <20050324164433.GA8068@dcc.uchile.cl> References: <27059.1111679526@sss.pgh.pa.us> <20050324164433.GA8068@dcc.uchile.cl> Comments: In-reply-to Alvaro Herrera message dated "Thu, 24 Mar 2005 12:44:33 -0400" Date: Thu, 24 Mar 2005 11:51:08 -0500 Message-ID: <27632.1111683068@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/398 X-Sequence-Number: 16896 Alvaro Herrera writes: > Is there any reason why we don't use a binary storage in custom format > dumps? I mean, we could open a binary cursor and write the results to > the file, and read it back at restore time. This is just handwaving of > course. > I guess the reason is cross-version portability? Cross-platform portability, too. regards, tom lane