pgsql: Improve various new-to-v19 appendStringInfo calls

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve various new-to-v19 appendStringInfo calls
Date: 2026-04-13 01:17:21
Message-ID: E1wC5vU-000icb-2n@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve various new-to-v19 appendStringInfo calls

Similar to 928394b66 and 8461424fd, here we adjust a few new locations
which were not using the most suitable appendStringInfo* or
appendPQExpBuffer* function for the intended purpose.

Author: David Rowley <drowleyml(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAApHDvohYOdrvhVxXzCJNX_GYMSWBfjTTtB6hgDauEtZ8Nar2A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/49ce41810faca2722424b3d8fabda79bf4902339

Modified Files
--------------
contrib/pg_plan_advice/pg_plan_advice.c | 2 +-
contrib/pg_plan_advice/pgpa_output.c | 2 +-
contrib/pg_plan_advice/pgpa_trove.c | 14 +--
src/backend/replication/logical/conflict.c | 2 +-
src/backend/replication/logical/slotsync.c | 2 +-
src/backend/utils/adt/ruleutils.c | 37 ++++---
src/bin/pg_dump/pg_dump.c | 7 +-
src/bin/pg_dump/pg_dumpall.c | 4 +-
src/bin/psql/describe.c | 164 ++++++++++++++---------------
src/test/modules/test_escape/test_escape.c | 6 +-
10 files changed, 119 insertions(+), 121 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2026-04-13 04:42:50 pgsql: Fix excessive logging in idle slotsync worker.
Previous Message Michael Paquier 2026-04-13 00:06:53 pgsql: test_saslprep: Fix issue with copy of input bytea