Postgresql – How to use an anonymous record type in an insert or update?
Let's say I have a function that returns type record: CREATE OR REPLACE FUNCTION pnh_row(myId integer) RETURNS RECORD AS $$ DECLARE myRow RECORD; BEGIN // blah blah return myRow; END; $$ language plpgsql; How can I insert and update this…