PostgreSQL: How can I replace to one column from the json values of another column?
I wasn't able to find a solution to this one. Say I have a table like this with tmp_table(json_row, message) as ( values ('{"key1": 1, "key2":"first"}'::jsonb, 'this ${key2} is a test of ${key1}'), ('{"key1": 2, "key2":"second"}', 'this ${key2} is a…