pgsql: Add missing newlines to PQescapeInternal() messages pre-v16. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add missing newlines to PQescapeInternal() messages pre-v16.
Date
Msg-id E1uAbaa-000WyG-3D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/06a2c598e10b0f698b57a6c0be7ebafd19a5d6f1

Modified Files
--------------
src/interfaces/libpq/fe-exec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: doc: Warn that ts_headline() output is not HTML-safe.
Next
From: Robins Tharakan
Date:
Subject: Re: pgsql: doc: Warn that ts_headline() output is not HTML-safe.