From: Amit Langote <amitlan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Some refactoring to export json(b) conversion functions
Date: Wed, 26 Jul 2023 08:09:45 +0000
Message-ID: <E1qOZaa-001PJ9-3D@gemulon.postgresql.org> (raw)
Some refactoring to export json(b) conversion functions
This is to export datum_to_json(), datum_to_jsonb(), and
jsonb_from_cstring(), though the last one is exported as
jsonb_from_text().
A subsequent commit to add new SQL/JSON constructor functions will
need them for calling from the executor.
Discussion: https://postgr.es/m/20230720160252.ldk7jy6jqclxfxkq%40alvherre.pgsql
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b22391a2ff7bdfeff4438f7a9ab26de3e33fdeff
Modified Files
--------------
src/backend/utils/adt/json.c | 59 +++++++++++++++++++++++--------------
src/backend/utils/adt/jsonb.c | 67 +++++++++++++++++++++++++++++++------------
src/include/utils/jsonfuncs.h | 5 ++++
3 files changed, 90 insertions(+), 41 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: amitlan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Some refactoring to export json(b) conversion functions
In-Reply-To: <E1qOZaa-001PJ9-3D@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox