Project

General

Profile

1 11721 aaronmk
SELECT util.search_path_append('util');
2
3 11753 aaronmk
SELECT create_if_not_exists($$ALTER TABLE $$||:table_str||$$ ADD PRIMARY KEY ("PLANTCONCEPT_ID")$$); -- runtime: ~0 @starscream
4 11723 aaronmk
5
6
SELECT mk_derived_col((:table_str, 'division'),
7 11749 aaronmk
$$_alt(division_main, division_normalized)$$)
8 11723 aaronmk
; -- runtime: 0.2 s ("212.478 ms") @starscream
9
10
SELECT mk_derived_col((:table_str, 'genus'),
11 11749 aaronmk
$$_alt(genus_main, genus_normalized)$$)
12 11723 aaronmk
; -- runtime: 0.1 s ("127.546 ms") @starscream