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.