By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE FUNCTION
CREATE TABLE
INSERT 0 2
| id | js | my_int | my_text | my_date | my_point | my_default |
|---|---|---|---|---|---|---|
| 1 | {"int": 66, "date": "2019-12-12", "text": "abc", "integer": "42"} | 42 | abc | 2019-12-12 | null | abc |
| 2 | {"point": "(1,2)"} | null | null | null | (1,2) | null |
SELECT 2