Search Postgresql Archives

Re: create batch script to import into postgres tables

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

 



On 6/19/20 7:52 AM, David G. Johnston wrote:
On Fri, Jun 19, 2020 at 6:58 AM Adrian Klaver <adrian.klaver@xxxxxxxxxxx <mailto:adrian.klaver@xxxxxxxxxxx>> wrote:

    On 6/19/20 6:53 AM, Pepe TD Vo wrote:
     > Thank you sir and I am sorry for the typo not having "--" on
    password.
     > I did spelling out with --password=mypassword

    Please go back and read my post again.


To be clear, there is no way to supply a password as a command line argument.  It is fundamentally a bad idea and we don't even make it an option.

Actually that is not entirely true, see my follow up post.


You need to decide on one of the actual ways of supplying a password, or choose an alternative authentication method like peer.

David J.



--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx





[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