Re: pg_hba.conf "authentication file token too long, skipping" - Mailing list pgsql-bugs

From Euler Taveira
Subject Re: pg_hba.conf "authentication file token too long, skipping"
Date
Msg-id 46011cbb-74e0-4e7d-9a78-b7857cc62918@app.fastmail.com
Whole thread Raw
In response to RE: pg_hba.conf "authentication file token too long, skipping"  ("Zechman, Derek S" <Derek.S.Zechman@snapon.com>)
List pgsql-bugs
On Tue, Aug 1, 2023, at 1:29 PM, Zechman, Derek S wrote:
" A one-line improvement would be to increase that constant, but it doesn't look very much harder to get rid of that fixed-size buffer altogether in favor of a StringInfo."

Is this something that can be included in the next patch?

Tom pushed patches for all supported back branches that raises the token length
from 256 to 10240 [1]. If it is a v13 or earlier [2], it also requires to
change the limit of line length (from 8192 to 20480). In v16 this limit was
completely eliminated using StringInfo [3].

In summary, this improvement will be available in the next minor releases.



--
Euler Taveira

pgsql-bugs by date:

Previous
From: "Andrey M. Borodin"
Date:
Subject: Re: DROP DATABASE deadlocks with logical replication worker in PG 15.1
Next
From: "Euler Taveira"
Date:
Subject: Re: BUG #18045: NpgSQL installation not working