pg_restore

From: Bob Pawley <rjpawley(at)shaw(dot)ca>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: pg_restore
Date: 2007-10-28 18:32:43
Message-ID: 004401c81990$ef57e8c0$6401a8c0@owner
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Please help.

I am attempting to restore a database into PostgreSQL version 8.2 running on
Win XP Professional.

From the 'bin' folder, I am using the command line-
pg_restore psql -h localhost -d PDW -U postgres -f aurel.sql

I get an error -

pg_restore: cannot specify both -d and -f output.

If the error message is correct how does pg_restore know what to put where?

I used the same command to successfully install the same pg_dump file into
PostgreSQL 8.1 running on the same computer.

Any thoughts would be much appreciated.

Bob Pawley

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2007-10-28 18:45:58 Re: pg_restore
Previous Message Adrian Klaver 2007-10-28 16:35:03 Re: select count() out of memory