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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing newlines to PQescapeInternal() messages pre-v16.
Date: 2025-05-01 21:37:04
Message-ID: E1uAbaa-000WyE-3A@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)eisentraut(dot)org>
Discussion: https://postgr.es/m/a9c837ad-d507-4607-94e4-c5743a8f49e0@eisentraut.org
Backpatch-through: 13-15

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/715241d71fa12a3864ea8c465745025030efdb90

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robins Tharakan 2025-05-01 21:58:59 Re: pgsql: doc: Warn that ts_headline() output is not HTML-safe.
Previous Message Tom Lane 2025-05-01 21:27:31 Re: pgsql: doc: Warn that ts_headline() output is not HTML-safe.