Re: pg_restore to log file - Mailing list pgsql-general

From Thom Brown
Subject Re: pg_restore to log file
Date
Msg-id AANLkTinzzUTBw94LLWu-a-8dg6evKQPXKuFukr54pHOG@mail.gmail.com
Whole thread Raw
In response to Re: pg_restore to log file  (akp geek <akpgeek@gmail.com>)
Responses Re: pg_restore to log file  (Scott Mead <scott.lists@enterprisedb.com>)
List pgsql-general
On 18 May 2010 17:11, akp geek <akpgeek@gmail.com> wrote:
> pg_restore -h 10.xx.xx.xxx  -d dbName  -n schemaName -v -U postgres
>  testDB_20100414.txt    -f outputifile
>
> I got the following error "pg_restore: options -d/--dbname and -f/--file
> cannot be used together"
>
> Regards
>

That's odd.  I can't see why those settings should conflict, although
I notice you haven't specified your input file as the last parameter.
It shouldn't appear before the other arguments.

Anyone else know?

Thom

pgsql-general by date:

Previous
From: Scott Mead
Date:
Subject: Re: pg_restore to log file
Next
From: akp geek
Date:
Subject: Re: pg_restore to log file