public inbox for [email protected]
help / color / mirror / Atom feedFrom: Samed YILDIRIM <[email protected]>
To: Shaozhong SHI <[email protected]>
To: pgsql-sql <[email protected]>
Subject: Re: How to use password in psql command line?
Date: Fri, 29 Apr 2022 10:18:44 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+i5JwZ_m5hsVuL8pZU6Z3647=ounaUTT2tVpR80DN6EyaBzFw@mail.gmail.com>
References: <CA+i5JwZ_m5hsVuL8pZU6Z3647=ounaUTT2tVpR80DN6EyaBzFw@mail.gmail.com>
<div><div>Hi David,</div><div> </div><div>There are two options;</div><ul><li>Password file -> <a href="https://www.postgresql.org/docs/current/libpq-pgpass.html"; rel="noopener noreferrer" target="_blank">https://www.postgresql.org/docs/current/libpq-pgpass.html</a></li><li>PGPASSWORD environmental variable -> https://www.postgresql.org/docs/14/libpq-envars.html</li></ul></div><div> &... regards.</div><div>Samed YILDIRIM</div><div> </div><div> </div><div> </div><div>28.04.2022, 12:11, "Shaozhong SHI" <[email protected]>:</div><blockquote><div><div><a href="https://markandruth.co.uk/2016/05/26/running-lots-of-postgres-commands-in-parallel"; rel="noopener noreferrer">Running lots of postgres commands in parallel | Mark's blog (markandruth.co.uk)</a></div><div> </div><div>How can make this work by providing password in this command line?</div><div> </div><div>Regards,</div><div> </div><div>David</div></div></blockquote>
view thread (3+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: How to use password in psql command line?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox