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