Re: [GENERAL] pg_dump throws too many command-line arguments inPostgres 10

Поиск
Список
Период
Сортировка
От Paul A Jungwirth
Тема Re: [GENERAL] pg_dump throws too many command-line arguments inPostgres 10
Дата
Msg-id CA+renyVcu9F-ExJzMKe7PUVAk3CMMjJzKmVQ4Y6J+ioRTT2ghQ@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] pg_dump throws too many command-line arguments in Postgres 10  ("Andrus" <kobruleht2@hot.ee>)
Список pgsql-general
On Wed, Oct 18, 2017 at 8:05 AM, Andrus <kobruleht2@hot.ee> 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 "admin", and everything after
that is extra.

Yours,
Paul


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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Andrus"
Дата:
Сообщение: [GENERAL] pg_dump throws too many command-line arguments in Postgres 10
Следующее
От: "Igal @ Lucee.org"
Дата:
Сообщение: Re: [GENERAL] Finally upgrading to 9.6!