Revision 13438
Added by Aaron Marcuse-Kubitza over 10 years ago
vegbien.sql | ||
---|---|---|
17064 | 17064 |
|
17065 | 17065 |
|
17066 | 17066 |
-- |
17067 |
-- Name: Source.errors; Type: TABLE; Schema: TNRS; Owner: -; Tablespace: |
|
17068 |
-- |
|
17069 |
|
|
17070 |
CREATE TABLE "Source.errors" ( |
|
17071 |
"column" text, |
|
17072 |
value text, |
|
17073 |
error_code character varying(5) NOT NULL, |
|
17074 |
error text NOT NULL |
|
17075 |
); |
|
17076 |
|
|
17077 |
|
|
17078 |
-- |
|
17079 | 17067 |
-- Name: ValidMatchedTaxon; Type: VIEW; Schema: TNRS; Owner: - |
17080 | 17068 |
-- |
17081 | 17069 |
|
... | ... | |
17285 | 17273 |
SET search_path = geoscrub, pg_catalog; |
17286 | 17274 |
|
17287 | 17275 |
-- |
17288 |
-- Name: Source.errors; Type: TABLE; Schema: geoscrub; Owner: -; Tablespace: |
|
17289 |
-- |
|
17290 |
|
|
17291 |
CREATE TABLE "Source.errors" ( |
|
17292 |
"column" text, |
|
17293 |
value text, |
|
17294 |
error_code character varying(5) NOT NULL, |
|
17295 |
error text NOT NULL |
|
17296 |
); |
|
17297 |
|
|
17298 |
|
|
17299 |
-- |
|
17300 | 17276 |
-- Name: county_centroids; Type: TABLE; Schema: geoscrub; Owner: -; Tablespace: |
17301 | 17277 |
-- |
17302 | 17278 |
|
... | ... | |
17409 | 17385 |
SET search_path = "TNRS", pg_catalog; |
17410 | 17386 |
|
17411 | 17387 |
-- |
17412 |
-- Name: Source.errors_coalesce_idx; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: |
|
17413 |
-- |
|
17414 |
|
|
17415 |
CREATE INDEX "Source.errors_coalesce_idx" ON "Source.errors" USING btree ((COALESCE("column", '\N'::text))); |
|
17416 |
|
|
17417 |
|
|
17418 |
-- |
|
17419 |
-- Name: Source.errors_coalesce_idx1; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: |
|
17420 |
-- |
|
17421 |
|
|
17422 |
CREATE INDEX "Source.errors_coalesce_idx1" ON "Source.errors" USING btree ((COALESCE(value, '\N'::text))); |
|
17423 |
|
|
17424 |
|
|
17425 |
-- |
|
17426 |
-- Name: Source.errors_coalesce_md5_error_code_md51_idx; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: |
|
17427 |
-- |
|
17428 |
|
|
17429 |
CREATE UNIQUE INDEX "Source.errors_coalesce_md5_error_code_md51_idx" ON "Source.errors" USING btree ((COALESCE("column", '\N'::text)), md5(value), error_code, md5(error)); |
|
17430 |
|
|
17431 |
|
|
17432 |
-- |
|
17433 |
-- Name: Source.errors_error_code_idx; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: |
|
17434 |
-- |
|
17435 |
|
|
17436 |
CREATE INDEX "Source.errors_error_code_idx" ON "Source.errors" USING btree (error_code); |
|
17437 |
|
|
17438 |
|
|
17439 |
-- |
|
17440 |
-- Name: Source.errors_error_idx; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: |
|
17441 |
-- |
|
17442 |
|
|
17443 |
CREATE INDEX "Source.errors_error_idx" ON "Source.errors" USING btree (error); |
|
17444 |
|
|
17445 |
|
|
17446 |
-- |
|
17447 | 17388 |
-- Name: batch_client_version_idx; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: |
17448 | 17389 |
-- |
17449 | 17390 |
|
... | ... | |
17460 | 17401 |
SET search_path = geoscrub, pg_catalog; |
17461 | 17402 |
|
17462 | 17403 |
-- |
17463 |
-- Name: Source.errors_coalesce_idx; Type: INDEX; Schema: geoscrub; Owner: -; Tablespace: |
|
17464 |
-- |
|
17465 |
|
|
17466 |
CREATE INDEX "Source.errors_coalesce_idx" ON "Source.errors" USING btree ((COALESCE("column", '\N'::text))); |
|
17467 |
|
|
17468 |
|
|
17469 |
-- |
|
17470 |
-- Name: Source.errors_coalesce_idx1; Type: INDEX; Schema: geoscrub; Owner: -; Tablespace: |
|
17471 |
-- |
|
17472 |
|
|
17473 |
CREATE INDEX "Source.errors_coalesce_idx1" ON "Source.errors" USING btree ((COALESCE(value, '\N'::text))); |
|
17474 |
|
|
17475 |
|
|
17476 |
-- |
|
17477 |
-- Name: Source.errors_coalesce_md5_error_code_md51_idx; Type: INDEX; Schema: geoscrub; Owner: -; Tablespace: |
|
17478 |
-- |
|
17479 |
|
|
17480 |
CREATE UNIQUE INDEX "Source.errors_coalesce_md5_error_code_md51_idx" ON "Source.errors" USING btree ((COALESCE("column", '\N'::text)), md5(value), error_code, md5(error)); |
|
17481 |
|
|
17482 |
|
|
17483 |
-- |
|
17484 |
-- Name: Source.errors_error_code_idx; Type: INDEX; Schema: geoscrub; Owner: -; Tablespace: |
|
17485 |
-- |
|
17486 |
|
|
17487 |
CREATE INDEX "Source.errors_error_code_idx" ON "Source.errors" USING btree (error_code); |
|
17488 |
|
|
17489 |
|
|
17490 |
-- |
|
17491 |
-- Name: Source.errors_error_idx; Type: INDEX; Schema: geoscrub; Owner: -; Tablespace: |
|
17492 |
-- |
|
17493 |
|
|
17494 |
CREATE INDEX "Source.errors_error_idx" ON "Source.errors" USING btree (error); |
|
17495 |
|
|
17496 |
|
|
17497 |
-- |
|
17498 | 17404 |
-- Name: geoscrub_output__unique; Type: INDEX; Schema: geoscrub; Owner: -; Tablespace: |
17499 | 17405 |
-- |
17500 | 17406 |
|
Also available in: Unified diff
schemas/Makefile: vegbien.sql: exclude the same set of Source tables excluded by inputs/.TNRS/schema.sql, so that reinstalling TNRS doesn't change the contents of this file