X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 287FD476347 for ; Sat, 26 Apr 2003 09:09:48 -0400 (EDT) Received: from shield.pirmabanka.lv (shield.pirmabanka.lv [195.114.57.4]) by postgresql.org (Postfix) with ESMTP id DEC91476351 for ; Sat, 26 Apr 2003 09:09:46 -0400 (EDT) Received: from wall2.pirmabanka.lv (wall2-pub.pirmabanka.lv [195.114.57.14]) by shield.pirmabanka.lv (8.12.9/8.12.9) with SMTP id h3QD9nje018508 for ; Sat, 26 Apr 2003 16:09:49 +0300 Received: from share.pirmabanka.lv ([10.0.0.10]) by wall2.pirmabanka.lv; Sat, 26 Apr 2003 16:09:48 +0300 (EET DST) Received: from pc311x1.pirmabanka.lv (localhost.localdomain [127.0.0.1]) by pirmabanka.lv (8.11.6/8.11.6) with SMTP id h3QD9lC29556 for ; Sat, 26 Apr 2003 16:09:47 +0300 Received: (qmail 9533 invoked by uid 100); 26 Apr 2003 13:09:55 -0000 Date: Sat, 26 Apr 2003 16:09:55 +0300 From: "Victor Yegorov" To: Erwin Ambrosch Cc: pgsql-admin@postgresql.org Subject: Re: pg_restore vs psql Message-ID: <20030426130955.GC8194@pirmabanka.lv> Mail-Followup-To: Erwin Ambrosch , pgsql-admin@postgresql.org References: <200304261248.h3QCmJn02369@ns.naus.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <200304261248.h3QCmJn02369@ns.naus.home> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-37.8 required=5.0 tests=BAYES_10,IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT 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/369 X-Sequence-Number: 8524 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Erwin Ambrosch [26.04.2003 15:53]: > Hi, >=20 > can one tell me whether there are main differences in using=20 > pg_restore of "psql -f mydb.dump mydb" on a file created with pg_dump. psql understands only plain SQL commands. pg_dump can create custom format dumps, gzipped dumps and tarballs along with SQL dumps. You cannot feed, say, custom dump to psql. --=20 Victor Yegorov --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+qoUj2RKGLEykUDYRAsJIAJ9A8OhuYP0+Ff1MC/JuFPNQOUFg8gCgoDp+ uDIVIzWztssRV0DvdTXxRbM= =Lcd9 -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--