From: | David Rowley <drowley(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fixup various new-to-v18 usages of appendPQExpBuffer |
Date: | 2025-04-16 23:38:14 |
Message-ID: | E1u5CKc-000Os4-1W@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Davis | 2025-04-16 23:50:05 | pgsql: Improve comment in regc_pg_locale.c. |
Previous Message | David Rowley | 2025-04-16 23:03:59 | pgsql: Improve comments for estimate_multivariate_ndistinct() |