From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add missing newlines to PQescapeInternal() messages pre-v16.
Date: Thu, 01 May 2025 21:37:04 +0000
Message-ID: <E1uAbaa-000WyC-36@gemulon.postgresql.org> (raw)
Add missing newlines to PQescapeInternal() messages pre-v16.
While back-patching 9f45e6a91, I neglected that the convention in
pre-v16 libpq was to include a trailing newline in error message
strings (since then, we add those separately). Add them now.
Reported-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/a9c837ad-d507-4607-94e4-c5743a8f49e0@eisentraut.org
Backpatch-through: 13-15
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/87af12e71fa9408e629f7a9772dc817de3ba44b8
Modified Files
--------------
src/interfaces/libpq/fe-exec.c | 4 ++--
1 file changed, 2 insertions(+), 2 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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add missing newlines to PQescapeInternal() messages pre-v16.
In-Reply-To: <E1uAbaa-000WyC-36@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