Re: .pgpass being ignored

Frank Broniewski <brfr@metrico.lu>

From: Frank Broniewski <brfr@metrico.lu>
To: pgsql-general@postgresql.org
Date: 2013-06-25T06:36:55Z
Lists: pgsql-general
>>          However, when I call createdb, it fails:
>>
>>               $ createdb -h 192.168.1.4 -U postgres --no-password JobSearch
>>               createdb: could not connect to database postgres:
>>          fe_sendauth: no
>>          password supplied
>>

Hi,

isn't your --no-password switch preventing this? I never use this switch 
and my .pgpass is used by shell scripts and other programs ...


Frank


-- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu