pgsql: jsonb internal API void * argument for binary data

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: jsonb internal API void * argument for binary data
Date: 2025-02-23 07:41:42
Message-ID: E1tm6cQ-000Gfo-1P@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

jsonb internal API void * argument for binary data

Change some internal jsonb API functions to take void * for binary
data instead of char *. This removes the need for numerous casts.

Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f98765f0ce90e465e35c809f4b3caaeeb3d24610

Modified Files
--------------
src/backend/utils/adt/jsonb_util.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-02-23 07:44:53 pgsql: Add more tests for utility commands in pipelines
Previous Message Tom Lane 2025-02-23 02:48:04 Re: pgsql: Trial fix for old cross-version upgrades.