Search Postgresql Archives

Re: pg_restore to log file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 May 2010 17:11, akp geek <akpgeek@xxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux