PGPASSWORDFILE env var for libpq

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: PGPASSWORDFILE env var for libpq
Date: 2002-08-11 20:17:08
Message-ID: Pine.LNX.4.44.0208101932410.14354-200000@cm-lcon1-46-187.cm.vtr.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hello:

I attach a patch that adds the PGPASSWORDFILE ability to libpq, and
removes the use of PGPASSWORD.

It uses the format
hostname:port:dbname:user:password

where each item can be replaced by *.

Identifiers that contain : or \ should be escaped with \.

Please double check the doc part of the patch, as I can't get the SGML
documentation to compile here.

--
Alvaro Herrera (<alvherre[a]atentus.com>)
Si no sabes adonde vas, es muy probable que acabes en otra parte.

Attachment Content-Type Size
libpq-pwdfile.patch text/plain 9.7 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-08-11 20:45:08 Re: PGPASSWORDFILE env var for libpq
Previous Message Joe Conway 2002-08-11 20:09:43 Re: [GENERAL] workaround for lack of REPLACE() function