Re: pg_restore to log file

From: Thom Brown <thombrown(at)gmail(dot)com>
To: akp geek <akpgeek(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_restore to log file
Date: 2010-05-18 16:15:09
Message-ID: AANLkTinzzUTBw94LLWu-a-8dg6evKQPXKuFukr54pHOG@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 18 May 2010 17:11, akp geek <akpgeek(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Mead 2010-05-18 16:15:23 Re: pg_restore to log file
Previous Message akp geek 2010-05-18 16:11:02 Re: pg_restore to log file