Re: Dumping/Restoring with constraints? - Mailing list pgsql-general

From Phoenix Kiula
Subject Re: Dumping/Restoring with constraints?
Date
Msg-id e373d31e0808270751m646aebb5ga122d0d8aa87fd11@mail.gmail.com
Whole thread Raw
In response to Re: Dumping/Restoring with constraints?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Dumping/Restoring with constraints?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Wed, Aug 27, 2008 at 10:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:


> For pg_dumpall, you shouldn't even have created the
> databases, just start from a virgin installation.



Should I have CREATEd the db at least without the table structure?

I dropped the database locally. Entirely. Gone.

Then I tried this:

  $  pg_restore -h localhost mydb.sql

This tells me:

  pg_restore: [archiver] input file does not appear to be a valid archive

What gives?

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Dumping/Restoring with constraints?
Next
From: Tom Lane
Date:
Subject: Re: Dumping/Restoring with constraints?