Re: Escaping ":" in .pgpass - code or docs bug?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Ross Reedstrom <reedstrm(at)rice(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Escaping ":" in .pgpass - code or docs bug?
Date: 2011-12-19 19:33:31
Message-ID: 4EEF918B.6060703@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19/12/11 16:48, Robert Haas wrote:
> On Sat, Dec 17, 2011 at 3:27 AM, Ross Reedstrom<reedstrm(at)rice(dot)edu> wrote:
>> This should either be fixed by changing the documentation to say to not escape
>> colons or backslashes in the password part, only, or modify this function
>> (PasswordFromFile) to silently unescape the password string. It already copies
>> it.
>
> My vote is for a doc correction in the back-branches and a behavior
> change in master.

Seems sensible - presumably mentioning "this will be corrected in 9.2"?

It's clearly not what you'd call "urgent" since nobody else seems to
have noticed before now.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-12-19 19:42:18 Re: Escaping ":" in .pgpass - code or docs bug?
Previous Message Marti Raudsepp 2011-12-19 19:32:06 Re: Autonomous subtransactions