X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ECB9A5370F for ; Thu, 12 May 2005 17:43:23 -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 87919-04 for ; Thu, 12 May 2005 20:43:22 +0000 (GMT) Received: from mail02.pironet-ndh.com (mail01.pironet-ndh.com [194.64.31.10]) by svr1.postgresql.org (Postfix) with ESMTP id C717853632 for ; Thu, 12 May 2005 17:43:21 -0300 (ADT) Received: from mail.fbn-dd.de (mail.fbn-dd.de [195.227.105.178]) by mail02.pironet-ndh.com (Postfix) with ESMTP id 00EDA48A42 for ; Thu, 12 May 2005 22:43:20 +0200 (CEST) Received: from sonne.intranet.fbn-dd.de (192-168-0-1.transfer-000.intranet.fbn-dd.de [192.168.0.1]) by mail.fbn-dd.de (Postfix) with ESMTP id A0D8A1F97A for ; Thu, 12 May 2005 22:43:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by sonne.intranet.fbn-dd.de (Postfix) with ESMTP id 907261F268 for ; Thu, 12 May 2005 22:43:20 +0200 (CEST) Received: from sonne.intranet.fbn-dd.de (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.1.16) id 16034-4F713AF6; Thu, 12 May 2005 22:43:20 +0200 Received: from localhost.localdomain (10-28-130-200.intranet-28-130.fbn-dd.de [10.28.130.200]) by sonne.intranet.fbn-dd.de (Postfix) with ESMTP id 61E8C1F268 for ; Thu, 12 May 2005 22:43:20 +0200 (CEST) Received: by localhost.localdomain (Postfix, from userid 1000) id B586D31E4E; Thu, 12 May 2005 22:43:26 +0200 (CEST) Date: Thu, 12 May 2005 22:43:26 +0200 From: Martin Pitt To: PostgreSQL Bugs Subject: Fwd: Bug#308535: postgresql-client: [psql] manual page does not document ~/.pgpass file Message-ID: <20050512204326.GC21489@piware.de> Mail-Followup-To: PostgreSQL Bugs Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline User-Agent: Mutt/1.5.9i X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.30.0.12; VDF: 6.30.0.175; host: sonne) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200505/109 X-Sequence-Number: 11813 --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi PostgreSQL developers! We recently got the bug report below. Do you agree that documenting ~/.pgpass in psql(1) is a good idea? Thanks for considering and have a nice day! Martin ----- Forwarded message from Jari Aalto ----- Subject: Bug#308535: postgresql-client: [psql] manual page does not documen= t ~/.pgpass file Reply-To: Jari Aalto , 308535@bugs.debian.org =46rom: Jari Aalto To: Debian Bug Tracking System Date: Tue, 10 May 2005 23:26:00 +0300 X-Spam-Status: No, score=3D0.0 required=3D4.0 tests=3DAWL,BAYES_50 autolear= n=3Dno=20 version=3D3.0.2 Package: postgresql-client Version: 7.4.7-6 Severity: minor psql(1) manual page does not mention in the FILES section ~/.pgpass file and how it is used. It should include:=20 FILES ... o The file ~/.pgpass in is a file that can contain passwords to be used if the connection requires a password (and no password has been specified otherwise). This file should have lines of the following format: hostname:port:database:username:password Each of the first four fields may be a literal value, or *, which matches anything. The password field from the first line that matches the current connection parameters will be used. (Therefore, put more-specific entries first when you are using wildcards.) If an entry needs to contain : or \, escape this character with \. The permissions on .pgpass must disallow any access to world or group; achieve this by the command chmod 0600 ~/.pgpass. If the permissions are less strict than this, the file will be ignored. This explanation was exerpted from=20 http://www.postgresql.org/docs/7.4/static/libpq-pgpass.html I have no idea why it is there, where nobidy is looking ----- End forwarded message ----- --=20 Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntulinux.org Debian Developer http://www.debian.org --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCg7/uDecnbV4Fd/IRAq4HAKDrqLCbN6Eph32voWvb4wmO+UK3DwCgypVF TOgxng5Su9Je8oQ1RKL1aZw= =PjWr -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+--