]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add missing newlines to PQescapeInternal() messages pre-v16.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 May 2025 21:36:47 +0000 (17:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 May 2025 21:36:47 +0000 (17:36 -0400)
commit87af12e71fa9408e629f7a9772dc817de3ba44b8
tree9f612c7b26bd99b418d35e4056aa3878f1c026e3
parent8b65f7106edb7914a13a90f318a0099be58d54ec
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
src/interfaces/libpq/fe-exec.c