On Wed, Oct 18, 2017 at 8:05 AM, Andrus wrote:
> pg_dump.exe -b -f b.backup -Fc -h -U admin -p 5432 mydb
>
> causes error
>
> pg_dump: too many command-line arguments (first is "-p")
Don't you need a hostname after -h? I think right now pg_dump thinks
your hostname is "-U", your database is "adm
In Postgres 10 Windows
invoking g_dump exe with
pg_dump.exe -b -f b.backup -Fc -h -U admin -p 5432 mydb
causes error
pg_dump: too many command-line arguments (first is "-p")
Try "pg_dump --help" for more information.
How to fix this ?
In earlier versions it worked.
Andrus
--
Sent via p