public inbox for [email protected]  
help / color / mirror / Atom feed
How to use password in psql command line?
3+ messages / 3 participants
[nested] [flat]

* How to use password in psql command line?
@ 2022-04-28 09:10  Shaozhong SHI <[email protected]>
  0 siblings, 2 replies; 3+ messages in thread

From: Shaozhong SHI @ 2022-04-28 09:10 UTC (permalink / raw)
  To: pgsql-sql <[email protected]>

Running lots of postgres commands in parallel | Mark's blog
(markandruth.co.uk)
<https://markandruth.co.uk/2016/05/26/running-lots-of-postgres-commands-in-parallel;

How can make this work by providing password in this command line?

Regards,

David


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Aw: How to use password in psql command line?
@ 2022-04-28 09:38  Karsten Hilbert <[email protected]>
  parent: Shaozhong SHI <[email protected]>
  1 sibling, 0 replies; 3+ messages in thread

From: Karsten Hilbert @ 2022-04-28 09:38 UTC (permalink / raw)
  To: Shaozhong SHI <[email protected]>; +Cc: pgsql-sql <[email protected]>

> Running lots of postgres commands in parallel | Mark's blog (markandruth.co.uk)[https://markandruth.co.uk/2016/05/26/running-lots-of-postgres-commands-in-parallel]
> 
> How can make this work by providing password in this command line?

Your first option could be to read the manual.

Karsten





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to use password in psql command line?
@ 2022-04-29 07:18  Samed YILDIRIM <[email protected]>
  parent: Shaozhong SHI <[email protected]>
  1 sibling, 0 replies; 3+ messages in thread

From: Samed YILDIRIM @ 2022-04-29 07:18 UTC (permalink / raw)
  To: Shaozhong SHI <[email protected]>; pgsql-sql <[email protected]>

<div><div>Hi David,</div><div> </div><div>There are two options;</div><ul><li>Password file -&gt; <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 -&gt; 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" &lt;[email protected]&gt;:</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>






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-04-29 07:18 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 09:10 How to use password in psql command line? Shaozhong SHI <[email protected]>
2022-04-28 09:38 ` Aw: How to use password in psql command line? Karsten Hilbert <[email protected]>
2022-04-29 07:18 ` Samed YILDIRIM <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox