SELECT util.search_path_append('util');

SELECT create_if_not_exists($$ALTER TABLE $$||:table_str||$$ ADD PRIMARY KEY ("*PLANTCONCEPT_ID")$$); -- runtime: ~0 @starscream


SELECT mk_derived_col((:table_str, 'division'),
$$_alt(division_main, division_normalized)$$)
; -- runtime: 0.2 s ("212.478 ms") @starscream

SELECT mk_derived_col((:table_str, 'genus'),
$$_alt(genus_main, genus_normalized)$$)
; -- runtime: 0.1 s ("127.546 ms") @starscream
