Re: Pg_dump and password

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

 



Achilleas Mantzios написа:
Στις Friday 08 February 2008 10:04:46 ο/η Pleyer, Walter έγραψε:
Hi Folks!

Is it possible to  call pg_dump not only with -U username but also with the user's password?
No, you should use the PGPASSWORD env variable.
Walter

Actually the recommended method for passing a password to a libpq-linked programme is by using the .pgpass file (http://www.postgresql.org/docs/8.3/static/libpq-envars.html and http://www.postgresql.org/docs/8.3/static/libpq-pgpass.html).


--
Milen A. Radev


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux