postgresql/src/include/executor
Andrew Dunstan 33a377608f IS JSON predicate
This patch intrdocuces 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 an IS and IS NOT variant. The tests are:

IS JSON [VALUE]
IS JSON ARRAY
IS JSON OBJECT
IS JSON SCALAR
IS JSON  WITH | WITHOUT UNIQUE KEYS

These are mostly self-explanatory, but note that IS JSON WITHOUT UNIQUE
KEYS is true whenever IS JSON is true, and IS JSON WITH UNIQUE KEYS is
true whenever IS JSON is true except it IS JSON OBJECT is true and there
are duplicate keys (which is never the case when applied to jsonb values).

Nikita Glukhov

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/cd0bb935-0158-78a7-08b5-904886deac4b@postgrespro.ru
2022-03-28 15:37:08 -04:00
..
execAsync.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
execExpr.h IS JSON predicate 2022-03-28 15:37:08 -04:00
execParallel.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
execPartition.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
execdebug.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
execdesc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
executor.h Enforce foreign key correctly during cross-partition updates 2022-03-20 18:43:40 +01:00
functions.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
hashjoin.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
instrument.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeAgg.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeAppend.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeBitmapAnd.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeBitmapHeapscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeBitmapIndexscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeBitmapOr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeCtescan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeCustom.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeForeignscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeFunctionscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeGather.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeGatherMerge.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeGroup.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeHash.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeHashjoin.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeIncrementalSort.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeIndexonlyscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeIndexscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeLimit.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeLockRows.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeMaterial.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeMemoize.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeMergeAppend.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeMergejoin.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeModifyTable.h Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
nodeNamedtuplestorescan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeNestloop.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeProjectSet.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeRecursiveunion.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeResult.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeSamplescan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeSeqscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeSetOp.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeSort.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeSubplan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeSubqueryscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeTableFuncscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeTidrangescan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeTidscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeUnique.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeValuesscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeWindowAgg.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodeWorktablescan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
spi.h Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
spi_priv.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
tablefunc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
tqueue.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
tstoreReceiver.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
tuptable.h Update copyright for 2022 2022-01-07 19:04:57 -05:00