I have a plpgsql function that takes a record as an argument.
I would like to call this function in the RETURNING statement of an insert, but am unsure what to put as the argument (* does not work) i.e.,
-- Postgres 12
INSERT INTO some_table (a, b, c)
VALUES .....
RETURNING
function_that_takes_record_argument(<the_new_record>)
What can I use in place of <the_new_record>?