pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fixup various new-to-v18 usages of appendPQExpBuffer
Date: Wed, 16 Apr 2025 23:38:14 +0000
Message-ID: <E1u5CKc-000Os4-1W@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1u5CKc-000Os4-1W@gemulon.postgresql.org>
Permalink:  ../E1u5CKc-000Os4-1W@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1u5CKc-000Os4-1W@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fixup various new-to-v18 usages of appendPQExpBuffer
  In-Reply-To: <E1u5CKc-000Os4-1W@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox