definition is stored in regex object
This commit is contained in:
parent
2af0a3432b
commit
ffb55cafa9
@ -284,7 +284,7 @@ BEGIN
|
|||||||
--map name
|
--map name
|
||||||
,_defn->>'name'
|
,_defn->>'name'
|
||||||
--map definition
|
--map definition
|
||||||
,_defn
|
,_defn->'regex'
|
||||||
--map aggregation sequence
|
--map aggregation sequence
|
||||||
,(_defn->>'sequence')::INTEGER
|
,(_defn->>'sequence')::INTEGER
|
||||||
--history definition
|
--history definition
|
||||||
@ -295,7 +295,7 @@ BEGIN
|
|||||||
ON CONFLICT ON CONSTRAINT map_rm_pk DO UPDATE SET
|
ON CONFLICT ON CONSTRAINT map_rm_pk DO UPDATE SET
|
||||||
srce = _defn->>'srce'
|
srce = _defn->>'srce'
|
||||||
,target = _defn->>'name'
|
,target = _defn->>'name'
|
||||||
,regex = _defn
|
,regex = _defn->'regex'
|
||||||
,seq = (_defn->>'sequence')::INTEGER
|
,seq = (_defn->>'sequence')::INTEGER
|
||||||
,hist =
|
,hist =
|
||||||
--the new definition going to position -0-
|
--the new definition going to position -0-
|
||||||
|
@ -20,7 +20,7 @@ BEGIN
|
|||||||
--map name
|
--map name
|
||||||
,_defn->>'name'
|
,_defn->>'name'
|
||||||
--map definition
|
--map definition
|
||||||
,_defn
|
,_defn->'regex'
|
||||||
--map aggregation sequence
|
--map aggregation sequence
|
||||||
,(_defn->>'sequence')::INTEGER
|
,(_defn->>'sequence')::INTEGER
|
||||||
--history definition
|
--history definition
|
||||||
@ -31,7 +31,7 @@ BEGIN
|
|||||||
ON CONFLICT ON CONSTRAINT map_rm_pk DO UPDATE SET
|
ON CONFLICT ON CONSTRAINT map_rm_pk DO UPDATE SET
|
||||||
srce = _defn->>'srce'
|
srce = _defn->>'srce'
|
||||||
,target = _defn->>'name'
|
,target = _defn->>'name'
|
||||||
,regex = _defn
|
,regex = _defn->'regex'
|
||||||
,seq = (_defn->>'sequence')::INTEGER
|
,seq = (_defn->>'sequence')::INTEGER
|
||||||
,hist =
|
,hist =
|
||||||
--the new definition going to position -0-
|
--the new definition going to position -0-
|
||||||
|
Loading…
Reference in New Issue
Block a user