pgsql: Use appendStringInfoString instead of appendBinaryStringInfo whe

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use appendStringInfoString instead of appendBinaryStringInfo whe
Date: 2022-12-30 10:15:36
Message-ID: E1pBCQK-00181S-GR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use appendStringInfoString instead of appendBinaryStringInfo where possible

For the jsonpath output, we don't need to squeeze out every bit of
performance, so instead use a more robust coding style. There are
similar calls in jsonb.c, which we leave alone here since there is
indeed a performance impact for bulk exports.

Discussion: https://www.postgresql.org/message-id/flat/a0086cfc-ff0f-2827-20fe-52b591d2666c%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/33a33f0ba4d70a704e2d6bb8ee85f29fe18cead9

Modified Files
--------------
src/backend/utils/adt/jsonpath.c | 42 ++++++++++++++++++++--------------------
1 file changed, 21 insertions(+), 21 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-12-30 11:49:06 pgsql: Fix precision handling for some COERCE_SQL_SYNTAX functions
Previous Message Peter Eisentraut 2022-12-30 09:16:02 pgsql: Remove unnecessary casts