Re: pg_restore

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore
Date: 2007-10-29 18:34:47
Message-ID: fg5947$2bp$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote on 29.10.2007 00:55:
> Thomas Kellerer <spam_eater(at)gmx(dot)net> writes:
>> 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?
>
> The custom and tar formats are not designed to support data from more
> than one database. At some point somebody should probably try to
> improve that situation, but it's not immediately obvious what the
> feature ought to look like.

OK, thanks

> If all you need is compression it's certainly easy enough:
>
> pg_dumpall | gzip >mydump.gz

That's what I'm currently doing ;)

Thanks

In response to

Browse pgsql-general by date

  From Date Subject
Next Message kamiseq 2007-10-29 19:18:06 function and passing the table name to be used with SQL stmnt
Previous Message Jeff Davis 2007-10-29 18:26:29 Re: [HACKERS] WAL archiving idle database