On 9/3/20, 10:19 AM, "Tom Lane" <t...@sss.pgh.pa.us> wrote: > Hearing no objections to this general plan, I went ahead and did that > cleanup. This version seems committable to me.
FILE *pwf = fopen(pwfilename, "r"); - int i; + char pwdbuf[8192]; If I am reading correctly, this would be the only defined password length limit once this patch is applied. While it's probably unlikely that this will cause problems for anybody anytime soon, is there any reason not to give this the same treatment as the .pgpass code and remove the line length limit altogether? Otherwise, the patch looks good to me. Nathan