From: Victor Yegorov <viy@pirmabanka.lv>
To: Erwin Ambrosch <naus.office@aon.at>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore vs psql
Date: Sat, 26 Apr 2003 16:09:55 +0300
Message-ID: <20030426130955.GC8194@pirmabanka.lv> (raw)
In-Reply-To: <200304261248.h3QCmJn02369@ns.naus.home>
References: <200304261248.h3QCmJn02369@ns.naus.home>
* Erwin Ambrosch <naus.office@aon.at> [26.04.2003 15:53]:
> Hi,
>
> can one tell me whether there are main differences in using
> 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.
--
Victor Yegorov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: viy@pirmabanka.lv, naus.office@aon.at
Subject: Re: pg_restore vs psql
In-Reply-To: <20030426130955.GC8194@pirmabanka.lv>
References: <200304261248.h3QCmJn02369@ns.naus.home> <20030426130955.GC8194@pirmabanka.lv>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox