From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Goodnough <agoodno@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: client_encoding error on load
Date: Sun, 03 Aug 2008 22:38:14 -0400
Message-ID: <19201.1217817494@sss.pgh.pa.us> (raw)
In-Reply-To: <f93eaa100808031859y1c019fcbocc7a58d01c67d488@mail.gmail.com>
References: <f93eaa100808031859y1c019fcbocc7a58d01c67d488@mail.gmail.com>
"Andrew Goodnough" <agoodno@gmail.com> writes:
> I'm using these commands to perform a dump and load.
> pg_dump -c lakevie_typo | gzip > $HOME/backups/typo_$DATE.sql.gz
> gzip < $HOME/backups/typo_$DATE.sql.gz |psql -d lakevie_typobak -f -
Surely the second step must start with gunzip?
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, agoodno@gmail.com
Subject: Re: client_encoding error on load
In-Reply-To: <19201.1217817494@sss.pgh.pa.us>
* 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