pgsql: jsonb internal API void * argument for binary data

Started by Peter Eisentrautover 1 year ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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@ilmari.org>
Discussion: /messages/by-id/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7@eisentraut.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(-)