pgsql: Remove arbitrary line length limit for libpq service files. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove arbitrary line length limit for libpq service files.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Remove arbitrary line length limit for libpq service files.

Use a StringInfo instead of a fixed-size buffer in parseServiceInfo().
While we've not heard complaints about the existing 255-byte limit,
it certainly seems possible that complex cases could run afoul of it.

Daniel Gustafsson

Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c0cb87fbb6642222a99593785f77d318af06ef02

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 68 ++++++++++++++++++---------------------
1 file changed, 31 insertions(+), 37 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Exclude fmgrprotos.h from pgindent processing.
Next
From: [email protected]
Date:
Subject: pgsql: Tag refs/tags/REL_13_0 was created