Re: PSQL Help
От | Tom Lane |
---|---|
Тема | Re: PSQL Help |
Дата | |
Msg-id | 32736.1581997156@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: PSQL Help ("David G. Johnston" <david.g.johnston@gmail.com>) |
Ответы |
Re: PSQL Help
|
Список | pgsql-bugs |
"David G. Johnston" <david.g.johnston@gmail.com> writes: > On Monday, February 17, 2020, Andre Lucas <andre@amazoniasistemas.com.br> > wrote: >> psql -h localhost -U postgres NovoBD -f Backup17.sql >> “psql: warning: extra command-line argument "-f" ignored >> psql: warning: extra command-line argument "Backup17.sql" ignored > You command doesn’t match the documented syntax: > psql [option...] [dbname [username]] > Hint: NovoBD is the “dbname” FWIW, Andres' example *will* work on some platforms, because glibc's getopt_long() takes it upon itself to rearrange the arguments. But it doesn't work everywhere, which is why we only document/recommend the stricter argument order. regards, tom lane
В списке pgsql-bugs по дате отправления: