From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove arbitrary line length limit for libpq service files.
Date: Tue, 22 Sep 2020 20:03:41 +0000
Message-ID: <E1kKoVp-0001Le-Up@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Remove arbitrary line length limit for libpq service files.
In-Reply-To: <E1kKoVp-0001Le-Up@gemulon.postgresql.org>
References: <E1kKoVp-0001Le-Up@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox