Project

General

Profile

1
SELECT util.search_path_append('util');
2

    
3
SELECT create_if_not_exists($$ALTER TABLE $$||:table_str||$$ ADD PRIMARY KEY ("stemlocation_id")$$); -- runtime: 0.1 s ("Time: 74.164 ms") @starscream
4

    
5

    
6
SELECT mk_derived_col((:table_str, 'individualID'), $$stemlocation_id$$) ; -- runtime: ~0 ("Time: 1.562 ms") @starscream
7

    
8
SELECT mk_derived_col((:table_str, 'aggregateOrganismObservationID'),
9
$$_join("taxonimportance_id"::text, "stemcount_id"::text)$$)
10
; -- runtime: 0.5 s ("Time: 441.059 ms") @starscream
(7-7/9)