Re: Remove line length restriction in passwordFromFile()

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org, Fujii Masao <fujii@postgresql.org>
Date: 2020-09-09T17:00:15Z
Lists: pgsql-hackers

On 2020/09/10 1:48, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> The patch was back-patched to v13, but v13 release note still has the following item.
> 
>>       Tighten libpq's overlength-line handling and comment detection for .pgpass files (Fujii Masao)
> 
>> This should be changed to the following or something?
> 
>>       Teach libpq to handle arbitrary-length lines in .pgpass files (Tom Lane)
> 
> Hm.  Actually, since that went further back than v13, I don't think
> it should appear in the v13 notes at all; it will be material for
> the next quarterly update release notes.
> 
> We could adjust the release-note entry for your patch to say
> "Improve comment detection for .pgpass files", or we could decide
> it's not worth documenting that part and just drop the entry.

"Improve comment detection for .pgpass files" is also the material for
minor version release because that change was also back-patched?
If so, I agree to drop the entry.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



Commits

  1. Teach libpq to handle arbitrary-length lines in .pgpass files.

  2. Fix issues around .pgpass file.