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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 06a2c598e10b0f698b57a6c0be7ebafd19a5d6f1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-05-01T21:36:47Z
Releases: 13.21
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

Files

PathChange+/−
src/interfaces/libpq/fe-exec.c modified +2 −2

Discussion

Cited messages not in the archive: a9c837ad-d507-4607-94e4-c5743a8f49e0@eisentraut.org