Revision 10245
Added by Aaron Marcuse-Kubitza almost 11 years ago
postprocess.sql | ||
---|---|---|
1 |
CREATE INDEX ON :table (acronym);
|
|
1 |
SELECT util.search_path_append('util');
|
|
2 | 2 |
|
3 |
SELECT create_if_not_exists($$CREATE INDEX "Specimen.acronym" ON $$||:table_str||$$ (acronym)$$); |
|
4 |
|
|
3 | 5 |
-- Remove institutions that we have direct data for |
4 | 6 |
DELETE FROM :table |
5 | 7 |
WHERE acronym IN ( |
Also available in: Unified diff
bugfix: inputs/*/*/postprocess.sql: made all operations idempotent, so that postprocess.sql can be run repeatedly (e.g. by new-style import)