Re: pg_restore vs psql

From: "Josh Goldberg" <josh(at)4dmatrix(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_restore vs psql
Date: 2003-04-26 21:38:32
Message-ID: 026801c30c3c$2ffbfb80$6605a8c0@laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

also, if you store blobs in your database then you need to use pg_dump and
pg_restore to backup/restore them.
----- Original Message -----
From: "Nick Fankhauser" <nickf(at)ontko(dot)com>

> Generally, I'd say that if you intend to restore the entire contents of
your
> dump file, then using the plain text format (& compressing with gzip if
> needed) is the way to go.
>
> If you need the ability to selectively restore some part of the dump file,
> (like one table) then you should use one of the non-text formats for
pg_dump
> and thus need to restore using pg_restore.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gémes Géza 2003-04-27 18:44:56 Users fo ONE database
Previous Message Nick Fankhauser 2003-04-26 21:24:48 Re: pg_restore vs psql