X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 44961D918C for ; Sat, 15 Oct 2005 18:03:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65970-04 for ; Sat, 15 Oct 2005 21:03:53 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 08B17D8E8E for ; Sat, 15 Oct 2005 18:03:53 -0300 (ADT) Received: (qmail invoked by alias); 15 Oct 2005 21:03:55 -0000 Received: from dslb-084-063-030-202.pools.arcor-ip.net (EHLO colt.pezone.net) [84.63.30.202] by mail.gmx.net (mp030) with SMTP; 15 Oct 2005 23:03:55 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: pgsql-admin@postgresql.org Subject: Re: scripts and ~/.psqlrc Date: Sat, 15 Oct 2005 23:03:50 +0200 User-Agent: KMail/1.8.1 Cc: teknet@poczta.onet.pl References: <20051015160813Z1262521-16585+5@kps6.test.onet.pl> In-Reply-To: <20051015160813Z1262521-16585+5@kps6.test.onet.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510152303.50846.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.483 required=5 tests=[AWL=0.483] X-Spam-Level: X-Archive-Number: 200510/174 X-Sequence-Number: 19246 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/