How to return columns with the same name as original table when creating function?
So I have this function: create function report (varchar) returns table ( id bigint, src_data_system_id int8 ) language plpgsql as $$ begin return query select id, src_data_system_id from process_log_objects plo where src_data_system_name = ‘somecondition’||$1; end $$ If in returns block I am using the same column names as in select query in a function body,… Read More How to return columns with the same name as original table when creating function?