Re: scripts and ~/.psqlrc

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Cc: teknet(at)poczta(dot)onet(dot)pl
Subject: Re: scripts and ~/.psqlrc
Date: 2005-10-15 21:03:50
Message-ID: 200510152303.50846.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

teknet(at)poczta(dot)onet(dot)pl wrote:
> I found that there is ~/.psqlrc file which could be used as
> configuration file for user. Can i put there databsename, hostname,
> username and most important: password ?, so i could connect to my
> database only by typing: #psql

The file you are looking for is ".pgpass".

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Roger Strandberg / Hamsta 2005-10-16 02:23:34 Table Space and mfs file system
Previous Message Jeff Frost 2005-10-15 17:28:03 Re: archive_command