By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
ERROR: operator does not exist: json = json LINE 2: SELECT (1, '{}', now())::tbl_js IS DISTINCT FROM (1, '{}', n... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
| ?column? |
|---|
| f |
SELECT 1
CREATE TRIGGER
INSERT 0 1
| id | j | modified_at |
|---|---|---|
| 2 | {} | 2025-05-14 23:53:53.957073+00 |
UPDATE 1
ERROR: could not identify an equality operator for type json CONTEXT: PL/pgSQL function on_update_modified() line 3 at IF
INSERT 0 1
| id | j | modified_at |
|---|---|---|
| 1 | [] | 2025-05-14 23:53:53.962534+00 |
UPDATE 1