Revision 11749
Added by Aaron Marcuse-Kubitza about 11 years ago
postprocess.sql | ||
---|---|---|
1 | 1 |
SELECT util.search_path_append('util'); |
2 | 2 |
|
3 |
SELECT create_if_not_exists($$CREATE INDEX $$||:table_str||%'__parent'||$$ ON $$||:table_str||$$ ("taxonObservation_ID")$$); -- runtime: 3 s ("3003.022 ms") @starscream
|
|
3 |
SELECT create_if_not_exists($$CREATE INDEX $$||:table_str||%'__parent'||$$ ON $$||:table_str||$$ ("taxonOccurrenceID")$$); -- runtime: 3 s ("3003.022 ms") @starscream
|
|
4 | 4 |
|
5 | 5 |
|
6 | 6 |
SELECT mk_derived_col((:table_str, 'aggregateOrganismObservationID'), |
7 |
$$_join("taxonImportance_ID"::text, "STEMCOUNT_ID"::text)$$)
|
|
7 |
$$_join("aggregateOrganismObservationID__taxon_presence"::text, "aggregateOrganismObservationID__individual_count"::text)$$)
|
|
8 | 8 |
; -- runtime: 25 s ("26272.523 ms") @starscream |
9 | 9 |
|
10 | 10 |
|
Also available in: Unified diff
inputs/CVS/: switched to new-style import, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource