SELECT util.search_path_append('util'); SELECT mk_derived_col((:table_str, 'aggregateOrganismObservationID'), $$_join("taxonimportance_id"::text, "stemcount_id"::text)$$) ; -- runtime: 15 s ("Time: 15805.876 ms") @starscream