Project

General

Profile

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

    
3

    
4
SELECT mk_derived_col((:table_str, 'aggregateOrganismObservationID'),
5
$$_join("aggregateOrganismObservationID__taxon_presence"::text, "aggregateOrganismObservationID__individual_count"::text)$$)
6
; -- runtime: 15 s ("Time: 15805.876 ms") @starscream
7

    
8

    
9
SELECT create_if_not_exists($$ALTER TABLE $$||:table_str||$$ ADD PRIMARY KEY ("aggregateOrganismObservationID")$$); -- runtime: 20 s ("Time: 20194.932 ms") @starscream
(7-7/10)