problem with pg_restore

From: Alexander Cohen <alex(at)toomuchspace(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: problem with pg_restore
Date: 2004-10-05 17:00:15
Message-ID: 0795B80D-16F0-11D9-BA74-000A95B947DC@toomuchspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I cant seem to get pg_restore to work for me.

here's how im calling it:

pg_restore -d <dbname> -C -v -U <user> <src tar file>

It keeps on telling me that the database <dbname> does not exist so it
cant connect to it. I thought the -C flag creates the database, what am
i missing here?

Thanks

Alex

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geisler, Jim 2004-10-05 18:03:09 Verifying Referential Integrity
Previous Message Dann Corbit 2004-10-05 16:50:53 Re: Random not so random