Re: scripts and ~/.psqlrc - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: scripts and ~/.psqlrc
Date
Msg-id 200510152303.50846.peter_e@gmx.net
Whole thread Raw
In response to scripts and ~/.psqlrc  (teknet@poczta.onet.pl)
List pgsql-admin
teknet@poczta.onet.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/

pgsql-admin by date:

Previous
From: Jeff Frost
Date:
Subject: Re: archive_command
Next
From: "Roger Strandberg / Hamsta"
Date:
Subject: Table Space and mfs file system