On 01/13/2012 09:10 AM, debian nick wrote:
Thanks raymond, you were right, i never think that psql was using .pgpass file. When a delete it psql ask me for the password. THANKS I’ll never figure that out.
You still should check your pg_hba.conf file for trust and ident connection rules. .pgpass only comes into play when the connection calls for password authentication. If the pg_hba file has rules that allow connections without passwords they will occur with or without the presence of a .pgpass file.
-- Adrian Klaver adrian.klaver@xxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general