pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
Subject: Re: Pg_dump and password
Date: Fri, 08 Feb 2008 10:47:58 +0200
Message-ID: <foh4vt$u17$1@ger.gmane.org> (raw)
In-Reply-To: <200802081020.55294.achill@matrix.gatewaynet.com>
References: <D44E323B81BD474682B45B77837734CE754673DB@svie0135.vie01.local>
	<200802081020.55294.achill@matrix.gatewaynet.com>

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




view thread (4+ messages)  latest in thread

Message-ID: <foh4vt$u17$1@ger.gmane.org>
Permalink:  ../foh4vt$u17$1@ger.gmane.org/
Also on:    postgresql.org/message-id/foh4vt$u17$1@ger.gmane.org

 · 

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: pgsql-admin@postgresql.org
  Cc: milen@radev.net
  Subject: Re: Pg_dump and password
  In-Reply-To: <foh4vt$u17$1@ger.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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