pgsql: Remove arbitrary line length limit for libpq service files.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove arbitrary line length limit for libpq service files.
Date: 2020-09-22 20:03:41
Message-ID: E1kKoVp-0001Le-Up@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/48A4FA71-524E-41B9-953A-FD04EF36E2E7@yesql.se

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message noreply 2020-09-22 21:37:45 pgsql: Tag refs/tags/REL_13_0 was created
Previous Message Tom Lane 2020-09-22 15:32:16 pgsql: Exclude fmgrprotos.h from pgindent processing.