pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vik Fearing <vik@2ndquadrant.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: DOS-style line endings in .pgpass
Date: Tue, 15 Nov 2016 02:07:48 +0100
Message-ID: <d10c100d-7f59-0c90-6a1d-c0e59fe71d21@2ndquadrant.fr> (raw)
In-Reply-To: <30513.1479154249@sss.pgh.pa.us>
References: <0de37763-5843-b2cc-855e-5d0e5df25807@agliodbs.com>
	<17d357ef-1a01-2493-a8b0-733010bf4bf0@2ndquadrant.fr>
	<30513.1479154249@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 11/14/2016 09:10 PM, Tom Lane wrote:
> Vik Fearing <vik@2ndquadrant.fr> writes:
>> On 11/14/2016 08:31 PM, Josh Berkus wrote:
>>> What appears to be happening here is that one of the characters of the
>>> CRLF is being appended to the password, making it invalid.
> 
>> Maybe something like the attached patch?
> 
> Our usual approach to \r characters is that they're whitespace.  I wonder
> whether the most friendly solution here is to chomp all trailing
> whitespace.  Anybody ever heard of using a trailing space or tab in a
> password?

Trailing, no; but I have a password with a space in the middle.
-- 
Vik Fearing                                          +33 6 46 75 15 36
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <d10c100d-7f59-0c90-6a1d-c0e59fe71d21@2ndquadrant.fr>
Permalink:  ../d10c100d-7f59-0c90-6a1d-c0e59fe71d21@2ndquadrant.fr/
Also on:    postgresql.org/message-id/d10c100d-7f59-0c90-6a1d-c0e59fe71d21@2ndquadrant.fr

 · 

reply

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-bugs@postgresql.org
  Cc: vik@2ndquadrant.fr, tgl@sss.pgh.pa.us, josh@agliodbs.com
  Subject: Re: DOS-style line endings in .pgpass
  In-Reply-To: <d10c100d-7f59-0c90-6a1d-c0e59fe71d21@2ndquadrant.fr>
  References: <0de37763-5843-b2cc-855e-5d0e5df25807@agliodbs.com> <17d357ef-1a01-2493-a8b0-733010bf4bf0@2ndquadrant.fr> <30513.1479154249@sss.pgh.pa.us> <d10c100d-7f59-0c90-6a1d-c0e59fe71d21@2ndquadrant.fr>

* 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