jsonb internal API void * argument for binary data
authorPeter Eisentraut <peter@eisentraut.org>
Sun, 23 Feb 2025 07:34:55 +0000 (08:34 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Sun, 23 Feb 2025 07:34:55 +0000 (08:34 +0100)
commitf98765f0ce90e465e35c809f4b3caaeeb3d24610
treed0f2e57a8bed236df596fca6e2fc3325bcf1b035
parentcb45dc3afb05ce5e5267b1a9be4725d0be7ee33c
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: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org
src/backend/utils/adt/jsonb_util.c