Re: pg_dump still requires password

From: "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net>
To: Ganesan Kanavathy <ganesh(at)magnusquest(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-admin-owner(at)postgresql(dot)org
Subject: Re: pg_dump still requires password
Date: 2003-11-13 04:42:56
Message-ID: 1068698575.1707.2.camel@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


> I have tried with pgpass but still it do
> es not work. I created the pgpass as per below:
>

Version? ~/.pgpass is supported since 7.3. Two more solutions are:
1) Set PGPASSWORD variable to avoid pg_dump asking for password
2) Set connection as trust in pg_hba.conf

regards,
bhuvaneswaran
regards, bhuvaneswaran

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message A.Bhuvaneswaran 2003-11-13 04:46:15 Re: easy way to copy all DBs and users on a server
Previous Message Christopher Browne 2003-11-13 03:47:55 Re: easy way to copy all DBs and users on a server