pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: pg_restore
Date: Mon, 29 Oct 2007 00:19:17 +0100
Message-ID: <fg35dl$u96$1@ger.gmane.org> (raw)
In-Reply-To: <8885.1193609937@sss.pgh.pa.us>
References: <004401c81990$ef57e8c0$6401a8c0@owner>
	<200710281145.58716.aklaver@comcast.net>
	<005b01c819a7$65a7aea0$6401a8c0@owner>
	<7589.1193606901@sss.pgh.pa.us>
	<000c01c819ae$2a89ffb0$6401a8c0@owner>
	<8885.1193609937@sss.pgh.pa.us>

Tom Lane wrote on 28.10.2007 23:18:
> Oh, I just twigged that you are using a plain-SQL dump file (that is,
> you didn't specify -Fc or -Ft to pg_dump).  For plain-SQL dumps you
> should not use pg_restore at all; you feed those to psql.

While we are on the topic of pg_dump/pg_restore:

Why is it, that pg_dump can use a compressed output directly but pg_dumpall is 
always using a SQL (i.e. "plain text") output?

Thomas




view thread (67+ messages)  latest in thread

Message-ID: <fg35dl$u96$1@ger.gmane.org>
Permalink:  ../fg35dl$u96$1@ger.gmane.org/
Also on:    postgresql.org/message-id/fg35dl$u96$1@ger.gmane.org

 · 

reply

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-general@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: pg_restore
  In-Reply-To: <fg35dl$u96$1@ger.gmane.org>
  References: <004401c81990$ef57e8c0$6401a8c0@owner> <200710281145.58716.aklaver@comcast.net> <005b01c819a7$65a7aea0$6401a8c0@owner> <7589.1193606901@sss.pgh.pa.us> <000c01c819ae$2a89ffb0$6401a8c0@owner> <8885.1193609937@sss.pgh.pa.us> <fg35dl$u96$1@ger.gmane.org>

* 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