Thread: pgsql: Fixup various new-to-v18 usages of appendPQExpBuffer

pgsql: Fixup various new-to-v18 usages of appendPQExpBuffer

From
David Rowley
Date:
Fixup various new-to-v18 usages of appendPQExpBuffer

Use appendPQExpBufferStr when there are no parameters and
appendPQExpBufferChar when the string length is 1.

Author: David Rowley <drowleyml@gmail.com>
Discussion: https://postgr.es/m/CAApHDvoARMvPeXTTC0HnpARBHn-WgVstc8XFCyMGOzvgu_1HvQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3fae25cbb35aa885c411fb51f55a64bb80dc5844

Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c |  4 ++--
src/bin/pg_dump/pg_dump.c                   |  4 ++--
src/interfaces/libpq/fe-auth-oauth-curl.c   |  2 +-
src/test/modules/test_escape/test_escape.c  | 15 ++++++---------
4 files changed, 11 insertions(+), 14 deletions(-)