By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TYPE
CREATE TABLE
CREATE TABLE
INSERT 0 3
| proper_syntax |
|---|
| {"(1,DDD)","(2,foo)","(3,"Weird \\string""")"} |
SELECT 1
| diff_type |
|---|
| {"(1,DDD)","(2,foo)","(3,"Weird \\string""")"} |
SELECT 1
| content |
|---|
| Weird \string" |
SELECT 1
INSERT 0 1
INSERT 0 1
INSERT 0 2
| indication_request_id | para_id | line_number | document_id | modified_content | created_by | diffs |
|---|---|---|---|---|---|---|
| 20 | 2893 | 10 | 18 | my content | user1 | {"(1,DDD)"} |
| 1 | 2 | 10 | 18 | my content | user1 | {"(1,DDD)","(2,foo)"} |
| 2 | 3 | 10 | 18 | my content | user1 | {"(1,DDD)","(2,foo)"} |
| 3 | 4 | 10 | 18 | my content | user1 | {"(1,DDD)","(2,foo)","(3,"Weird \\string""")"} |
SELECT 4