X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 88BD1475CEE for ; Sat, 26 Apr 2003 17:38:14 -0400 (EDT) Received: from smtp.covadmail.net (mx03.covadmail.net [63.65.120.63]) by postgresql.org (Postfix) with SMTP id BCFA0474E4F for ; Sat, 26 Apr 2003 17:38:13 -0400 (EDT) Received: (covad.net 11410 invoked from network); 26 Apr 2003 21:38:14 -0000 Received: from unknown (HELO laptop) (69.3.185.116) by sun-qmail04 with SMTP; 26 Apr 2003 21:38:14 -0000 Message-ID: <026801c30c3c$2ffbfb80$6605a8c0@laptop> From: "Josh Goldberg" To: References: Subject: Re: pg_restore vs psql Date: Sat, 26 Apr 2003 14:38:32 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Status: No, hits=-19.1 required=5.0 tests=BAYES_20,ORIGINAL_MESSAGE,QUOTED_EMAIL_TEXT,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/371 X-Sequence-Number: 8526 also, if you store blobs in your database then you need to use pg_dump and pg_restore to backup/restore them. ----- Original Message ----- From: "Nick Fankhauser" > Generally, I'd say that if you intend to restore the entire contents of your > dump file, then using the plain text format (& compressing with gzip if > needed) is the way to go. > > If you need the ability to selectively restore some part of the dump file, > (like one table) then you should use one of the non-text formats for pg_dump > and thus need to restore using pg_restore.