Fixup various new-to-v18 usages of appendPQExpBuffer
authorDavid Rowley <drowley@postgresql.org>
Wed, 16 Apr 2025 23:37:55 +0000 (11:37 +1200)
committerDavid Rowley <drowley@postgresql.org>
Wed, 16 Apr 2025 23:37:55 +0000 (11:37 +1200)
commit3fae25cbb35aa885c411fb51f55a64bb80dc5844
tree5e4438e2c2bb37d559ef2cc47e16886615a3f17b
parentf3281f9f9395099724b55ddc52991a92795c6068
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
src/bin/pg_basebackup/pg_createsubscriber.c
src/bin/pg_dump/pg_dump.c
src/interfaces/libpq/fe-auth-oauth-curl.c
src/test/modules/test_escape/test_escape.c