From: | Amit Langote <amitlan(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Some refactoring to export json(b) conversion functions |
Date: | 2023-07-26 08:09:45 |
Message-ID: | E1qOZaa-001PJ9-3D@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2023-07-27 00:03:46 | pgsql: Adjust extra lines generated by psql to be valid SQL comments. |
Previous Message | Masahiko Sawada | 2023-07-26 05:43:57 | pgsql: Fix crash with RemoveFromWaitQueue() when detecting a deadlock. |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2023-07-26 08:10:17 | Re: remaining sql/json patches |
Previous Message | John Naylor | 2023-07-26 07:38:54 | Re: [PATCH] Add loongarch native checksum implementation. |