pg_restore - Mailing list pgsql-general

From Bob Pawley
Subject pg_restore
Date
Msg-id 004401c81990$ef57e8c0$6401a8c0@owner
Whole thread Raw
Responses Re: pg_restore  (Adrian Klaver <aklaver@comcast.net>)
List 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



pgsql-general by date:

Previous
From: aklaver@comcast.net (Adrian Klaver)
Date:
Subject: Re: select count() out of memory
Next
From: Adrian Klaver
Date:
Subject: Re: pg_restore