Re: DOS-style line endings in .pgpass

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: DOS-style line endings in .pgpass
Дата
Msg-id d10c100d-7f59-0c90-6a1d-c0e59fe71d21@2ndquadrant.fr
обсуждение исходный текст
Ответ на Re: DOS-style line endings in .pgpass  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: DOS-style line endings in .pgpass  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: John McKown
Дата:
Сообщение: Re: DOS-style line endings in .pgpass
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #14423: Fail to connect to DB