From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-admin@postgresql.org
Cc: teknet@poczta.onet.pl
Subject: Re: scripts and ~/.psqlrc
Date: Sat, 15 Oct 2005 23:03:50 +0200
Message-ID: <200510152303.50846.peter_e@gmx.net> (raw)
In-Reply-To: <20051015160813Z1262521-16585+5@kps6.test.onet.pl>
References: <20051015160813Z1262521-16585+5@kps6.test.onet.pl>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: peter_e@gmx.net, teknet@poczta.onet.pl
Subject: Re: scripts and ~/.psqlrc
In-Reply-To: <200510152303.50846.peter_e@gmx.net>
References: <20051015160813Z1262521-16585+5@kps6.test.onet.pl> <200510152303.50846.peter_e@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox