postgresql/src/include/nodes
Alvaro Herrera 6ee30209a6
SQL/JSON: support the IS JSON predicate
This patch introduces the SQL standard IS JSON predicate. It operates
on text and bytea values representing JSON, as well as on the json and
jsonb types. Each test has IS and IS NOT variants and supports a WITH
UNIQUE KEYS flag. The tests are:

IS JSON [VALUE]
IS JSON ARRAY
IS JSON OBJECT
IS JSON SCALAR

These should be self-explanatory.

The WITH UNIQUE KEYS flag makes these return false when duplicate keys
exist in any object within the value, not necessarily directly contained
in the outermost object.

Author: Nikita Glukhov <n.gluhov@postgrespro.ru>
Author: Teodor Sigaev <teodor@sigaev.ru>
Author: Oleg Bartunov <obartunov@gmail.com>
Author: Alexander Korotkov <aekorotkov@gmail.com>
Author: Amit Langote <amitlangote09@gmail.com>
Author: Andrew Dunstan <andrew@dunslane.net>

Reviewers have included (in no particular order) Andres Freund, Alexander
Korotkov, Pavel Stehule, Andrew Alsup, Erik Rijkers, Zihong Yu,
Himanshu Upadhyaya, Daniel Gustafsson, Justin Pryzby.

Discussion: https://postgr.es/m/CAF4Au4w2x-5LTnN_bxky-mq4=WOqsGsxSpENCzHRAzSnEd8+WQ@mail.gmail.com
Discussion: https://postgr.es/m/cd0bb935-0158-78a7-08b5-904886deac4b@postgrespro.ru
Discussion: https://postgr.es/m/20220616233130.rparivafipt6doj3@alap3.anarazel.de
Discussion: https://postgr.es/m/abd9b83b-aa66-f230-3d6d-734817f0995d%40postgresql.org
2023-03-31 22:34:04 +02:00
..
.gitignore Automatically generate node support functions 2022-07-09 08:53:59 +02:00
bitmapset.h Require empty Bitmapsets to be represented as NULL. 2023-03-02 11:47:26 -05:00
execnodes.h Ignore BRIN indexes when checking for HOT updates 2023-03-20 11:02:42 +01:00
extensible.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
lockoptions.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
makefuncs.h SQL/JSON: support the IS JSON predicate 2023-03-31 22:34:04 +02:00
memnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Add files related to query jumbling in src/include/nodes/ for meson 2023-03-18 18:04:04 +09:00
miscnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
multibitmapset.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeFuncs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodes.h Mark more nodes with attribute no_query_jumble 2023-02-13 09:07:33 +09:00
params.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
parsenodes.h Fix inconsistencies and style issues in new SQL/JSON code 2023-03-30 21:06:31 +02:00
pathnodes.h When removing a relation from the query, drop its RelOptInfo. 2023-02-13 13:35:38 -05:00
pg_list.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
plannodes.h Mark more nodes with attribute no_query_jumble 2023-02-13 09:07:33 +09:00
primnodes.h SQL/JSON: support the IS JSON predicate 2023-03-31 22:34:04 +02:00
print.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
queryjumble.h Move queryjumble.c code to src/backend/nodes/ 2023-01-21 11:48:37 +09:00
readfuncs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
replnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
subscripting.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
supportnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
tidbitmap.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
value.h Update copyright for 2023 2023-01-02 15:00:37 -05:00