Revision 13066
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/vegbien.my.sql | ||
---|---|---|
378 | 378 |
|
379 | 379 |
|
380 | 380 |
-- |
381 |
-- Name: keys_~type._specimens_02_count_of_unique_verbatim_families; Type: TYPE; Schema: public_validations; Owner: - |
|
382 |
-- |
|
383 |
|
|
384 |
|
|
385 |
|
|
386 |
|
|
387 |
-- |
|
388 |
-- Name: TYPE `keys_~type._specimens_02_count_of_unique_verbatim_families`; Type: COMMENT; Schema: public_validations; Owner: - |
|
389 |
-- |
|
390 |
|
|
391 |
|
|
392 |
|
|
393 |
|
|
394 |
-- |
|
395 |
-- Name: keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a; Type: TYPE; Schema: public_validations; Owner: - |
|
396 |
-- |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
-- |
|
402 |
-- Name: TYPE `keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a`; Type: COMMENT; Schema: public_validations; Owner: - |
|
403 |
-- |
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
-- |
|
409 |
-- Name: keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with; Type: TYPE; Schema: public_validations; Owner: - |
|
410 |
-- |
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
-- |
|
416 |
-- Name: TYPE `keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with`; Type: COMMENT; Schema: public_validations; Owner: - |
|
417 |
-- |
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
-- |
|
423 |
-- Name: keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w; Type: TYPE; Schema: public_validations; Owner: - |
|
424 |
-- |
|
425 |
|
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
-- |
|
430 |
-- Name: TYPE `keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w`; Type: COMMENT; Schema: public_validations; Owner: - |
|
431 |
-- |
|
432 |
|
|
433 |
|
|
434 |
|
|
435 |
|
|
436 |
-- |
|
437 |
-- Name: keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi; Type: TYPE; Schema: public_validations; Owner: - |
|
438 |
-- |
|
439 |
|
|
440 |
|
|
441 |
|
|
442 |
|
|
443 |
-- |
|
444 |
-- Name: TYPE `keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi`; Type: COMMENT; Schema: public_validations; Owner: - |
|
445 |
-- |
|
446 |
|
|
447 |
|
|
448 |
|
|
449 |
|
|
450 |
-- |
|
451 |
-- Name: keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_; Type: TYPE; Schema: public_validations; Owner: - |
|
452 |
-- |
|
453 |
|
|
454 |
|
|
455 |
|
|
456 |
|
|
457 |
-- |
|
458 |
-- Name: TYPE `keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_`; Type: COMMENT; Schema: public_validations; Owner: - |
|
459 |
-- |
|
460 |
|
|
461 |
|
|
462 |
|
|
463 |
|
|
464 |
-- |
|
465 |
-- Name: keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TYPE; Schema: public_validations; Owner: - |
|
466 |
-- |
|
467 |
|
|
468 |
|
|
469 |
|
|
470 |
|
|
471 |
-- |
|
472 |
-- Name: TYPE `keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long`; Type: COMMENT; Schema: public_validations; Owner: - |
|
473 |
-- |
|
474 |
|
|
475 |
|
|
476 |
|
|
477 |
|
|
478 |
-- |
|
479 |
-- Name: keys_~type._specimens_15_list_distinct_locality_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
480 |
-- |
|
481 |
|
|
482 |
|
|
483 |
|
|
484 |
|
|
485 |
-- |
|
486 |
-- Name: TYPE `keys_~type._specimens_15_list_distinct_locality_descriptions`; Type: COMMENT; Schema: public_validations; Owner: - |
|
487 |
-- |
|
488 |
|
|
489 |
|
|
490 |
|
|
491 |
|
|
492 |
-- |
|
493 |
-- Name: keys_~type._specimens_16_list_distinct_specimen_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
494 |
-- |
|
495 |
|
|
496 |
|
|
497 |
|
|
498 |
|
|
499 |
-- |
|
500 |
-- Name: TYPE `keys_~type._specimens_16_list_distinct_specimen_descriptions`; Type: COMMENT; Schema: public_validations; Owner: - |
|
501 |
-- |
|
502 |
|
|
503 |
|
|
504 |
|
|
505 |
|
|
506 |
-- |
|
381 | 507 |
-- Name: keys_~type._traits_01_count_records; Type: TYPE; Schema: public_validations; Owner: - |
382 | 508 |
-- |
383 | 509 |
|
... | ... | |
616 | 742 |
|
617 | 743 |
|
618 | 744 |
-- |
745 |
-- Name: values__~type._specimens_02_count_of_unique_verbatim_families; Type: TYPE; Schema: public_validations; Owner: - |
|
746 |
-- |
|
747 |
|
|
748 |
|
|
749 |
|
|
750 |
|
|
751 |
-- |
|
752 |
-- Name: TYPE `values__~type._specimens_02_count_of_unique_verbatim_families`; Type: COMMENT; Schema: public_validations; Owner: - |
|
753 |
-- |
|
754 |
|
|
755 |
|
|
756 |
|
|
757 |
|
|
758 |
-- |
|
759 |
-- Name: values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit; Type: TYPE; Schema: public_validations; Owner: - |
|
760 |
-- |
|
761 |
|
|
762 |
|
|
763 |
|
|
764 |
|
|
765 |
-- |
|
766 |
-- Name: TYPE `values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit`; Type: COMMENT; Schema: public_validations; Owner: - |
|
767 |
-- |
|
768 |
|
|
769 |
|
|
770 |
|
|
771 |
|
|
772 |
-- |
|
773 |
-- Name: values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w; Type: TYPE; Schema: public_validations; Owner: - |
|
774 |
-- |
|
775 |
|
|
776 |
|
|
777 |
|
|
778 |
|
|
779 |
-- |
|
780 |
-- Name: TYPE `values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w`; Type: COMMENT; Schema: public_validations; Owner: - |
|
781 |
-- |
|
782 |
|
|
783 |
|
|
784 |
|
|
785 |
|
|
786 |
-- |
|
787 |
-- Name: values__~type._specimens_08_count_of_unique_verbatim_author_tax; Type: TYPE; Schema: public_validations; Owner: - |
|
788 |
-- |
|
789 |
|
|
790 |
|
|
791 |
|
|
792 |
|
|
793 |
-- |
|
794 |
-- Name: TYPE `values__~type._specimens_08_count_of_unique_verbatim_author_tax`; Type: COMMENT; Schema: public_validations; Owner: - |
|
795 |
-- |
|
796 |
|
|
797 |
|
|
798 |
|
|
799 |
|
|
800 |
-- |
|
801 |
-- Name: values__~type._specimens_09_list_of_unique_verbatim_author_taxa; Type: TYPE; Schema: public_validations; Owner: - |
|
802 |
-- |
|
803 |
|
|
804 |
|
|
805 |
|
|
806 |
|
|
807 |
-- |
|
808 |
-- Name: TYPE `values__~type._specimens_09_list_of_unique_verbatim_author_taxa`; Type: COMMENT; Schema: public_validations; Owner: - |
|
809 |
-- |
|
810 |
|
|
811 |
|
|
812 |
|
|
813 |
|
|
814 |
-- |
|
815 |
-- Name: values__~type._specimens_13_count_of_all_verbatim_and_decimal_l; Type: TYPE; Schema: public_validations; Owner: - |
|
816 |
-- |
|
817 |
|
|
818 |
|
|
819 |
|
|
820 |
|
|
821 |
-- |
|
822 |
-- Name: TYPE `values__~type._specimens_13_count_of_all_verbatim_and_decimal_l`; Type: COMMENT; Schema: public_validations; Owner: - |
|
823 |
-- |
|
824 |
|
|
825 |
|
|
826 |
|
|
827 |
|
|
828 |
-- |
|
829 |
-- Name: values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l; Type: TYPE; Schema: public_validations; Owner: - |
|
830 |
-- |
|
831 |
|
|
832 |
|
|
833 |
|
|
834 |
|
|
835 |
-- |
|
836 |
-- Name: TYPE `values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l`; Type: COMMENT; Schema: public_validations; Owner: - |
|
837 |
-- |
|
838 |
|
|
839 |
|
|
840 |
|
|
841 |
|
|
842 |
-- |
|
843 |
-- Name: values__~type._specimens_15_list_distinct_locality_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
844 |
-- |
|
845 |
|
|
846 |
|
|
847 |
|
|
848 |
|
|
849 |
-- |
|
850 |
-- Name: TYPE `values__~type._specimens_15_list_distinct_locality_descriptions`; Type: COMMENT; Schema: public_validations; Owner: - |
|
851 |
-- |
|
852 |
|
|
853 |
|
|
854 |
|
|
855 |
|
|
856 |
-- |
|
857 |
-- Name: values__~type._specimens_16_list_distinct_specimen_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
858 |
-- |
|
859 |
|
|
860 |
|
|
861 |
|
|
862 |
|
|
863 |
-- |
|
864 |
-- Name: TYPE `values__~type._specimens_16_list_distinct_specimen_descriptions`; Type: COMMENT; Schema: public_validations; Owner: - |
|
865 |
-- |
|
866 |
|
|
867 |
|
|
868 |
|
|
869 |
|
|
870 |
-- |
|
619 | 871 |
-- Name: values__~type._traits_01_count_records; Type: TYPE; Schema: public_validations; Owner: - |
620 | 872 |
-- |
621 | 873 |
|
... | ... | |
1716 | 1968 |
|
1717 | 1969 |
|
1718 | 1970 |
-- |
1971 |
-- Name: ~type._specimens_02_count_of_unique_verbatim_families; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
1972 |
-- |
|
1973 |
|
|
1974 |
CREATE TABLE `~type._specimens_02_count_of_unique_verbatim_families` ( |
|
1975 |
families varchar(255) |
|
1976 |
); |
|
1977 |
|
|
1978 |
|
|
1979 |
-- |
|
1980 |
-- Name: keys(`~type._specimens_02_count_of_unique_verbatim_families`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
1981 |
-- |
|
1982 |
|
|
1983 |
|
|
1984 |
|
|
1985 |
|
|
1986 |
-- |
|
1987 |
-- Name: ~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
1988 |
-- |
|
1989 |
|
|
1990 |
CREATE TABLE `~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author` ( |
|
1991 |
taxon_names_with_author varchar(255) |
|
1992 |
); |
|
1993 |
|
|
1994 |
|
|
1995 |
-- |
|
1996 |
-- Name: keys(`~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
1997 |
-- |
|
1998 |
|
|
1999 |
|
|
2000 |
|
|
2001 |
|
|
2002 |
-- |
|
2003 |
-- Name: ~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
2004 |
-- |
|
2005 |
|
|
2006 |
CREATE TABLE `~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth` ( |
|
2007 |
taxon_name_with_author varchar(255) |
|
2008 |
); |
|
2009 |
|
|
2010 |
|
|
2011 |
-- |
|
2012 |
-- Name: keys(`~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2013 |
-- |
|
2014 |
|
|
2015 |
|
|
2016 |
|
|
2017 |
|
|
2018 |
-- |
|
2019 |
-- Name: ~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
2020 |
-- |
|
2021 |
|
|
2022 |
CREATE TABLE `~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g` ( |
|
2023 |
taxon_names_with_author varchar(255) |
|
2024 |
); |
|
2025 |
|
|
2026 |
|
|
2027 |
-- |
|
2028 |
-- Name: keys(`~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2029 |
-- |
|
2030 |
|
|
2031 |
|
|
2032 |
|
|
2033 |
|
|
2034 |
-- |
|
2035 |
-- Name: ~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
2036 |
-- |
|
2037 |
|
|
2038 |
CREATE TABLE `~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge` ( |
|
2039 |
taxon_name_with_author varchar(255) |
|
2040 |
); |
|
2041 |
|
|
2042 |
|
|
2043 |
-- |
|
2044 |
-- Name: keys(`~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2045 |
-- |
|
2046 |
|
|
2047 |
|
|
2048 |
|
|
2049 |
|
|
2050 |
-- |
|
2051 |
-- Name: ~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
2052 |
-- |
|
2053 |
|
|
2054 |
CREATE TABLE `~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long` ( |
|
2055 |
`allLats` varchar(255), |
|
2056 |
`decimalLats` varchar(255), |
|
2057 |
`allLongs` varchar(255), |
|
2058 |
`decimalLongs` varchar(255) |
|
2059 |
); |
|
2060 |
|
|
2061 |
|
|
2062 |
-- |
|
2063 |
-- Name: keys(`~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2064 |
-- |
|
2065 |
|
|
2066 |
|
|
2067 |
|
|
2068 |
|
|
2069 |
-- |
|
2070 |
-- Name: ~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
2071 |
-- |
|
2072 |
|
|
2073 |
CREATE TABLE `~type._specimens_14_count_of_all_invalid_verbatim_lat_long` ( |
|
2074 |
`badLats` varchar(255), |
|
2075 |
`badLongs` varchar(255) |
|
2076 |
); |
|
2077 |
|
|
2078 |
|
|
2079 |
-- |
|
2080 |
-- Name: keys(`~type._specimens_14_count_of_all_invalid_verbatim_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2081 |
-- |
|
2082 |
|
|
2083 |
|
|
2084 |
|
|
2085 |
|
|
2086 |
-- |
|
2087 |
-- Name: ~type._specimens_15_list_distinct_locality_descriptions; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
2088 |
-- |
|
2089 |
|
|
2090 |
CREATE TABLE `~type._specimens_15_list_distinct_locality_descriptions` ( |
|
2091 |
`localityDescription` varchar(255) |
|
2092 |
); |
|
2093 |
|
|
2094 |
|
|
2095 |
-- |
|
2096 |
-- Name: keys(`~type._specimens_15_list_distinct_locality_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2097 |
-- |
|
2098 |
|
|
2099 |
|
|
2100 |
|
|
2101 |
|
|
2102 |
-- |
|
2103 |
-- Name: ~type._specimens_16_list_distinct_specimen_descriptions; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
2104 |
-- |
|
2105 |
|
|
2106 |
CREATE TABLE `~type._specimens_16_list_distinct_specimen_descriptions` ( |
|
2107 |
`specimenDescription` varchar(255), |
|
2108 |
copies varchar(255) NOT NULL |
|
2109 |
); |
|
2110 |
|
|
2111 |
|
|
2112 |
-- |
|
2113 |
-- Name: keys(`~type._specimens_16_list_distinct_specimen_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2114 |
-- |
|
2115 |
|
|
2116 |
|
|
2117 |
|
|
2118 |
|
|
2119 |
-- |
|
1719 | 2120 |
-- Name: ~type._traits_01_count_records; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
1720 | 2121 |
-- |
1721 | 2122 |
|
... | ... | |
2187 | 2588 |
|
2188 | 2589 |
|
2189 | 2590 |
-- |
2591 |
-- Name: values_(`~type._specimens_02_count_of_unique_verbatim_families`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2592 |
-- |
|
2593 |
|
|
2594 |
|
|
2595 |
|
|
2596 |
|
|
2597 |
-- |
|
2598 |
-- Name: values_(`~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2599 |
-- |
|
2600 |
|
|
2601 |
|
|
2602 |
|
|
2603 |
|
|
2604 |
-- |
|
2605 |
-- Name: values_(`~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2606 |
-- |
|
2607 |
|
|
2608 |
|
|
2609 |
|
|
2610 |
|
|
2611 |
-- |
|
2612 |
-- Name: values_(`~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2613 |
-- |
|
2614 |
|
|
2615 |
|
|
2616 |
|
|
2617 |
|
|
2618 |
-- |
|
2619 |
-- Name: values_(`~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2620 |
-- |
|
2621 |
|
|
2622 |
|
|
2623 |
|
|
2624 |
|
|
2625 |
-- |
|
2626 |
-- Name: values_(`~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2627 |
-- |
|
2628 |
|
|
2629 |
|
|
2630 |
|
|
2631 |
|
|
2632 |
-- |
|
2633 |
-- Name: values_(`~type._specimens_14_count_of_all_invalid_verbatim_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2634 |
-- |
|
2635 |
|
|
2636 |
|
|
2637 |
|
|
2638 |
|
|
2639 |
-- |
|
2640 |
-- Name: values_(`~type._specimens_15_list_distinct_locality_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2641 |
-- |
|
2642 |
|
|
2643 |
|
|
2644 |
|
|
2645 |
|
|
2646 |
-- |
|
2647 |
-- Name: values_(`~type._specimens_16_list_distinct_specimen_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: - |
|
2648 |
-- |
|
2649 |
|
|
2650 |
|
|
2651 |
|
|
2652 |
|
|
2653 |
-- |
|
2190 | 2654 |
-- Name: values_(`~type._traits_01_count_records`); Type: FUNCTION; Schema: public_validations; Owner: - |
2191 | 2655 |
-- |
2192 | 2656 |
|
... | ... | |
8198 | 8662 |
|
8199 | 8663 |
|
8200 | 8664 |
-- |
8665 |
-- Data for Name: ~type._specimens_02_count_of_unique_verbatim_families; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8666 |
-- |
|
8667 |
|
|
8668 |
|
|
8669 |
|
|
8670 |
-- |
|
8671 |
-- Data for Name: ~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8672 |
-- |
|
8673 |
|
|
8674 |
|
|
8675 |
|
|
8676 |
-- |
|
8677 |
-- Data for Name: ~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8678 |
-- |
|
8679 |
|
|
8680 |
|
|
8681 |
|
|
8682 |
-- |
|
8683 |
-- Data for Name: ~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8684 |
-- |
|
8685 |
|
|
8686 |
|
|
8687 |
|
|
8688 |
-- |
|
8689 |
-- Data for Name: ~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8690 |
-- |
|
8691 |
|
|
8692 |
|
|
8693 |
|
|
8694 |
-- |
|
8695 |
-- Data for Name: ~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8696 |
-- |
|
8697 |
|
|
8698 |
|
|
8699 |
|
|
8700 |
-- |
|
8701 |
-- Data for Name: ~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8702 |
-- |
|
8703 |
|
|
8704 |
|
|
8705 |
|
|
8706 |
-- |
|
8707 |
-- Data for Name: ~type._specimens_15_list_distinct_locality_descriptions; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8708 |
-- |
|
8709 |
|
|
8710 |
|
|
8711 |
|
|
8712 |
-- |
|
8713 |
-- Data for Name: ~type._specimens_16_list_distinct_specimen_descriptions; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
8714 |
-- |
|
8715 |
|
|
8716 |
|
|
8717 |
|
|
8718 |
-- |
|
8201 | 8719 |
-- Data for Name: ~type._traits_01_count_records; Type: TABLE DATA; Schema: public_validations; Owner: - |
8202 | 8720 |
-- |
8203 | 8721 |
|
trunk/schemas/vegbien.sql | ||
---|---|---|
705 | 705 |
|
706 | 706 |
|
707 | 707 |
-- |
708 |
-- Name: keys_~type._specimens_02_count_of_unique_verbatim_families; Type: TYPE; Schema: public_validations; Owner: - |
|
709 |
-- |
|
710 |
|
|
711 |
CREATE TYPE "keys_~type._specimens_02_count_of_unique_verbatim_families" AS ( |
|
712 |
); |
|
713 |
|
|
714 |
|
|
715 |
-- |
|
716 |
-- Name: TYPE "keys_~type._specimens_02_count_of_unique_verbatim_families"; Type: COMMENT; Schema: public_validations; Owner: - |
|
717 |
-- |
|
718 |
|
|
719 |
COMMENT ON TYPE "keys_~type._specimens_02_count_of_unique_verbatim_families" IS ' |
|
720 |
autogenerated |
|
721 |
'; |
|
722 |
|
|
723 |
|
|
724 |
-- |
|
725 |
-- Name: keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a; Type: TYPE; Schema: public_validations; Owner: - |
|
726 |
-- |
|
727 |
|
|
728 |
CREATE TYPE "keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a" AS ( |
|
729 |
); |
|
730 |
|
|
731 |
|
|
732 |
-- |
|
733 |
-- Name: TYPE "keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a"; Type: COMMENT; Schema: public_validations; Owner: - |
|
734 |
-- |
|
735 |
|
|
736 |
COMMENT ON TYPE "keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a" IS ' |
|
737 |
autogenerated |
|
738 |
'; |
|
739 |
|
|
740 |
|
|
741 |
-- |
|
742 |
-- Name: keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with; Type: TYPE; Schema: public_validations; Owner: - |
|
743 |
-- |
|
744 |
|
|
745 |
CREATE TYPE "keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with" AS ( |
|
746 |
taxon_name_with_author text |
|
747 |
); |
|
748 |
|
|
749 |
|
|
750 |
-- |
|
751 |
-- Name: TYPE "keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with"; Type: COMMENT; Schema: public_validations; Owner: - |
|
752 |
-- |
|
753 |
|
|
754 |
COMMENT ON TYPE "keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with" IS ' |
|
755 |
autogenerated |
|
756 |
'; |
|
757 |
|
|
758 |
|
|
759 |
-- |
|
760 |
-- Name: keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w; Type: TYPE; Schema: public_validations; Owner: - |
|
761 |
-- |
|
762 |
|
|
763 |
CREATE TYPE "keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w" AS ( |
|
764 |
); |
|
765 |
|
|
766 |
|
|
767 |
-- |
|
768 |
-- Name: TYPE "keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w"; Type: COMMENT; Schema: public_validations; Owner: - |
|
769 |
-- |
|
770 |
|
|
771 |
COMMENT ON TYPE "keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w" IS ' |
|
772 |
autogenerated |
|
773 |
'; |
|
774 |
|
|
775 |
|
|
776 |
-- |
|
777 |
-- Name: keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi; Type: TYPE; Schema: public_validations; Owner: - |
|
778 |
-- |
|
779 |
|
|
780 |
CREATE TYPE "keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi" AS ( |
|
781 |
taxon_name_with_author text |
|
782 |
); |
|
783 |
|
|
784 |
|
|
785 |
-- |
|
786 |
-- Name: TYPE "keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi"; Type: COMMENT; Schema: public_validations; Owner: - |
|
787 |
-- |
|
788 |
|
|
789 |
COMMENT ON TYPE "keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi" IS ' |
|
790 |
autogenerated |
|
791 |
'; |
|
792 |
|
|
793 |
|
|
794 |
-- |
|
795 |
-- Name: keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_; Type: TYPE; Schema: public_validations; Owner: - |
|
796 |
-- |
|
797 |
|
|
798 |
CREATE TYPE "keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_" AS ( |
|
799 |
); |
|
800 |
|
|
801 |
|
|
802 |
-- |
|
803 |
-- Name: TYPE "keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_"; Type: COMMENT; Schema: public_validations; Owner: - |
|
804 |
-- |
|
805 |
|
|
806 |
COMMENT ON TYPE "keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_" IS ' |
|
807 |
autogenerated |
|
808 |
'; |
|
809 |
|
|
810 |
|
|
811 |
-- |
|
812 |
-- Name: keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TYPE; Schema: public_validations; Owner: - |
|
813 |
-- |
|
814 |
|
|
815 |
CREATE TYPE "keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long" AS ( |
|
816 |
); |
|
817 |
|
|
818 |
|
|
819 |
-- |
|
820 |
-- Name: TYPE "keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long"; Type: COMMENT; Schema: public_validations; Owner: - |
|
821 |
-- |
|
822 |
|
|
823 |
COMMENT ON TYPE "keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long" IS ' |
|
824 |
autogenerated |
|
825 |
'; |
|
826 |
|
|
827 |
|
|
828 |
-- |
|
829 |
-- Name: keys_~type._specimens_15_list_distinct_locality_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
830 |
-- |
|
831 |
|
|
832 |
CREATE TYPE "keys_~type._specimens_15_list_distinct_locality_descriptions" AS ( |
|
833 |
"localityDescription" text |
|
834 |
); |
|
835 |
|
|
836 |
|
|
837 |
-- |
|
838 |
-- Name: TYPE "keys_~type._specimens_15_list_distinct_locality_descriptions"; Type: COMMENT; Schema: public_validations; Owner: - |
|
839 |
-- |
|
840 |
|
|
841 |
COMMENT ON TYPE "keys_~type._specimens_15_list_distinct_locality_descriptions" IS ' |
|
842 |
autogenerated |
|
843 |
'; |
|
844 |
|
|
845 |
|
|
846 |
-- |
|
847 |
-- Name: keys_~type._specimens_16_list_distinct_specimen_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
848 |
-- |
|
849 |
|
|
850 |
CREATE TYPE "keys_~type._specimens_16_list_distinct_specimen_descriptions" AS ( |
|
851 |
"specimenDescription" text |
|
852 |
); |
|
853 |
|
|
854 |
|
|
855 |
-- |
|
856 |
-- Name: TYPE "keys_~type._specimens_16_list_distinct_specimen_descriptions"; Type: COMMENT; Schema: public_validations; Owner: - |
|
857 |
-- |
|
858 |
|
|
859 |
COMMENT ON TYPE "keys_~type._specimens_16_list_distinct_specimen_descriptions" IS ' |
|
860 |
autogenerated |
|
861 |
'; |
|
862 |
|
|
863 |
|
|
864 |
-- |
|
708 | 865 |
-- Name: keys_~type._traits_01_count_records; Type: TYPE; Schema: public_validations; Owner: - |
709 | 866 |
-- |
710 | 867 |
|
... | ... | |
1023 | 1180 |
|
1024 | 1181 |
|
1025 | 1182 |
-- |
1183 |
-- Name: values__~type._specimens_02_count_of_unique_verbatim_families; Type: TYPE; Schema: public_validations; Owner: - |
|
1184 |
-- |
|
1185 |
|
|
1186 |
CREATE TYPE "values__~type._specimens_02_count_of_unique_verbatim_families" AS ( |
|
1187 |
families bigint |
|
1188 |
); |
|
1189 |
|
|
1190 |
|
|
1191 |
-- |
|
1192 |
-- Name: TYPE "values__~type._specimens_02_count_of_unique_verbatim_families"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1193 |
-- |
|
1194 |
|
|
1195 |
COMMENT ON TYPE "values__~type._specimens_02_count_of_unique_verbatim_families" IS ' |
|
1196 |
autogenerated |
|
1197 |
'; |
|
1198 |
|
|
1199 |
|
|
1200 |
-- |
|
1201 |
-- Name: values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit; Type: TYPE; Schema: public_validations; Owner: - |
|
1202 |
-- |
|
1203 |
|
|
1204 |
CREATE TYPE "values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit" AS ( |
|
1205 |
taxon_names_with_author bigint |
|
1206 |
); |
|
1207 |
|
|
1208 |
|
|
1209 |
-- |
|
1210 |
-- Name: TYPE "values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1211 |
-- |
|
1212 |
|
|
1213 |
COMMENT ON TYPE "values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit" IS ' |
|
1214 |
autogenerated |
|
1215 |
'; |
|
1216 |
|
|
1217 |
|
|
1218 |
-- |
|
1219 |
-- Name: values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w; Type: TYPE; Schema: public_validations; Owner: - |
|
1220 |
-- |
|
1221 |
|
|
1222 |
CREATE TYPE "values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w" AS ( |
|
1223 |
taxon_name_with_author text |
|
1224 |
); |
|
1225 |
|
|
1226 |
|
|
1227 |
-- |
|
1228 |
-- Name: TYPE "values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1229 |
-- |
|
1230 |
|
|
1231 |
COMMENT ON TYPE "values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w" IS ' |
|
1232 |
autogenerated |
|
1233 |
'; |
|
1234 |
|
|
1235 |
|
|
1236 |
-- |
|
1237 |
-- Name: values__~type._specimens_08_count_of_unique_verbatim_author_tax; Type: TYPE; Schema: public_validations; Owner: - |
|
1238 |
-- |
|
1239 |
|
|
1240 |
CREATE TYPE "values__~type._specimens_08_count_of_unique_verbatim_author_tax" AS ( |
|
1241 |
taxon_names_with_author bigint |
|
1242 |
); |
|
1243 |
|
|
1244 |
|
|
1245 |
-- |
|
1246 |
-- Name: TYPE "values__~type._specimens_08_count_of_unique_verbatim_author_tax"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1247 |
-- |
|
1248 |
|
|
1249 |
COMMENT ON TYPE "values__~type._specimens_08_count_of_unique_verbatim_author_tax" IS ' |
|
1250 |
autogenerated |
|
1251 |
'; |
|
1252 |
|
|
1253 |
|
|
1254 |
-- |
|
1255 |
-- Name: values__~type._specimens_09_list_of_unique_verbatim_author_taxa; Type: TYPE; Schema: public_validations; Owner: - |
|
1256 |
-- |
|
1257 |
|
|
1258 |
CREATE TYPE "values__~type._specimens_09_list_of_unique_verbatim_author_taxa" AS ( |
|
1259 |
taxon_name_with_author text |
|
1260 |
); |
|
1261 |
|
|
1262 |
|
|
1263 |
-- |
|
1264 |
-- Name: TYPE "values__~type._specimens_09_list_of_unique_verbatim_author_taxa"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1265 |
-- |
|
1266 |
|
|
1267 |
COMMENT ON TYPE "values__~type._specimens_09_list_of_unique_verbatim_author_taxa" IS ' |
|
1268 |
autogenerated |
|
1269 |
'; |
|
1270 |
|
|
1271 |
|
|
1272 |
-- |
|
1273 |
-- Name: values__~type._specimens_13_count_of_all_verbatim_and_decimal_l; Type: TYPE; Schema: public_validations; Owner: - |
|
1274 |
-- |
|
1275 |
|
|
1276 |
CREATE TYPE "values__~type._specimens_13_count_of_all_verbatim_and_decimal_l" AS ( |
|
1277 |
"allLats" bigint, |
|
1278 |
"decimalLats" bigint, |
|
1279 |
"allLongs" bigint, |
|
1280 |
"decimalLongs" bigint |
|
1281 |
); |
|
1282 |
|
|
1283 |
|
|
1284 |
-- |
|
1285 |
-- Name: TYPE "values__~type._specimens_13_count_of_all_verbatim_and_decimal_l"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1286 |
-- |
|
1287 |
|
|
1288 |
COMMENT ON TYPE "values__~type._specimens_13_count_of_all_verbatim_and_decimal_l" IS ' |
|
1289 |
autogenerated |
|
1290 |
'; |
|
1291 |
|
|
1292 |
|
|
1293 |
-- |
|
1294 |
-- Name: values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l; Type: TYPE; Schema: public_validations; Owner: - |
|
1295 |
-- |
|
1296 |
|
|
1297 |
CREATE TYPE "values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l" AS ( |
|
1298 |
"badLats" bigint, |
|
1299 |
"badLongs" bigint |
|
1300 |
); |
|
1301 |
|
|
1302 |
|
|
1303 |
-- |
|
1304 |
-- Name: TYPE "values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1305 |
-- |
|
1306 |
|
|
1307 |
COMMENT ON TYPE "values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l" IS ' |
|
1308 |
autogenerated |
|
1309 |
'; |
|
1310 |
|
|
1311 |
|
|
1312 |
-- |
|
1313 |
-- Name: values__~type._specimens_15_list_distinct_locality_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
1314 |
-- |
|
1315 |
|
|
1316 |
CREATE TYPE "values__~type._specimens_15_list_distinct_locality_descriptions" AS ( |
|
1317 |
"localityDescription" text |
|
1318 |
); |
|
1319 |
|
|
1320 |
|
|
1321 |
-- |
|
1322 |
-- Name: TYPE "values__~type._specimens_15_list_distinct_locality_descriptions"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1323 |
-- |
|
1324 |
|
|
1325 |
COMMENT ON TYPE "values__~type._specimens_15_list_distinct_locality_descriptions" IS ' |
|
1326 |
autogenerated |
|
1327 |
'; |
|
1328 |
|
|
1329 |
|
|
1330 |
-- |
|
1331 |
-- Name: values__~type._specimens_16_list_distinct_specimen_descriptions; Type: TYPE; Schema: public_validations; Owner: - |
|
1332 |
-- |
|
1333 |
|
|
1334 |
CREATE TYPE "values__~type._specimens_16_list_distinct_specimen_descriptions" AS ( |
|
1335 |
copies bigint |
|
1336 |
); |
|
1337 |
|
|
1338 |
|
|
1339 |
-- |
|
1340 |
-- Name: TYPE "values__~type._specimens_16_list_distinct_specimen_descriptions"; Type: COMMENT; Schema: public_validations; Owner: - |
|
1341 |
-- |
|
1342 |
|
|
1343 |
COMMENT ON TYPE "values__~type._specimens_16_list_distinct_specimen_descriptions" IS ' |
|
1344 |
autogenerated |
|
1345 |
'; |
|
1346 |
|
|
1347 |
|
|
1348 |
-- |
|
1026 | 1349 |
-- Name: values__~type._traits_01_count_records; Type: TYPE; Schema: public_validations; Owner: - |
1027 | 1350 |
-- |
1028 | 1351 |
|
... | ... | |
3110 | 3433 |
|
3111 | 3434 |
|
3112 | 3435 |
-- |
3436 |
-- Name: ~type._specimens_02_count_of_unique_verbatim_families; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3437 |
-- |
|
3438 |
|
|
3439 |
CREATE TABLE "~type._specimens_02_count_of_unique_verbatim_families" ( |
|
3440 |
families bigint |
|
3441 |
); |
|
3442 |
|
|
3443 |
|
|
3444 |
-- |
|
3445 |
-- Name: keys("~type._specimens_02_count_of_unique_verbatim_families"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3446 |
-- |
|
3447 |
|
|
3448 |
CREATE FUNCTION keys(value "~type._specimens_02_count_of_unique_verbatim_families") RETURNS "keys_~type._specimens_02_count_of_unique_verbatim_families" |
|
3449 |
LANGUAGE sql IMMUTABLE |
|
3450 |
AS $$ |
|
3451 |
SELECT ROW()::public_validations."keys_~type._specimens_02_count_of_unique_verbatim_families" |
|
3452 |
$$; |
|
3453 |
|
|
3454 |
|
|
3455 |
-- |
|
3456 |
-- Name: ~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3457 |
-- |
|
3458 |
|
|
3459 |
CREATE TABLE "~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author" ( |
|
3460 |
taxon_names_with_author bigint |
|
3461 |
); |
|
3462 |
|
|
3463 |
|
|
3464 |
-- |
|
3465 |
-- Name: keys("~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3466 |
-- |
|
3467 |
|
|
3468 |
CREATE FUNCTION keys(value "~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author") RETURNS "keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a" |
|
3469 |
LANGUAGE sql IMMUTABLE |
|
3470 |
AS $$ |
|
3471 |
SELECT ROW()::public_validations."keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a" |
|
3472 |
$$; |
|
3473 |
|
|
3474 |
|
|
3475 |
-- |
|
3476 |
-- Name: ~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3477 |
-- |
|
3478 |
|
|
3479 |
CREATE TABLE "~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth" ( |
|
3480 |
taxon_name_with_author text |
|
3481 |
); |
|
3482 |
|
|
3483 |
|
|
3484 |
-- |
|
3485 |
-- Name: keys("~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3486 |
-- |
|
3487 |
|
|
3488 |
CREATE FUNCTION keys(value "~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth") RETURNS "keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with" |
|
3489 |
LANGUAGE sql IMMUTABLE |
|
3490 |
AS $_$ |
|
3491 |
SELECT ROW($1.taxon_name_with_author)::public_validations."keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with" |
|
3492 |
$_$; |
|
3493 |
|
|
3494 |
|
|
3495 |
-- |
|
3496 |
-- Name: ~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3497 |
-- |
|
3498 |
|
|
3499 |
CREATE TABLE "~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g" ( |
|
3500 |
taxon_names_with_author bigint |
|
3501 |
); |
|
3502 |
|
|
3503 |
|
|
3504 |
-- |
|
3505 |
-- Name: keys("~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3506 |
-- |
|
3507 |
|
|
3508 |
CREATE FUNCTION keys(value "~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g") RETURNS "keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w" |
|
3509 |
LANGUAGE sql IMMUTABLE |
|
3510 |
AS $$ |
|
3511 |
SELECT ROW()::public_validations."keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w" |
|
3512 |
$$; |
|
3513 |
|
|
3514 |
|
|
3515 |
-- |
|
3516 |
-- Name: ~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3517 |
-- |
|
3518 |
|
|
3519 |
CREATE TABLE "~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge" ( |
|
3520 |
taxon_name_with_author text |
|
3521 |
); |
|
3522 |
|
|
3523 |
|
|
3524 |
-- |
|
3525 |
-- Name: keys("~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3526 |
-- |
|
3527 |
|
|
3528 |
CREATE FUNCTION keys(value "~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge") RETURNS "keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi" |
|
3529 |
LANGUAGE sql IMMUTABLE |
|
3530 |
AS $_$ |
|
3531 |
SELECT ROW($1.taxon_name_with_author)::public_validations."keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi" |
|
3532 |
$_$; |
|
3533 |
|
|
3534 |
|
|
3535 |
-- |
|
3536 |
-- Name: ~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3537 |
-- |
|
3538 |
|
|
3539 |
CREATE TABLE "~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long" ( |
|
3540 |
"allLats" bigint, |
|
3541 |
"decimalLats" bigint, |
|
3542 |
"allLongs" bigint, |
|
3543 |
"decimalLongs" bigint |
|
3544 |
); |
|
3545 |
|
|
3546 |
|
|
3547 |
-- |
|
3548 |
-- Name: keys("~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3549 |
-- |
|
3550 |
|
|
3551 |
CREATE FUNCTION keys(value "~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long") RETURNS "keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_" |
|
3552 |
LANGUAGE sql IMMUTABLE |
|
3553 |
AS $$ |
|
3554 |
SELECT ROW()::public_validations."keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_" |
|
3555 |
$$; |
|
3556 |
|
|
3557 |
|
|
3558 |
-- |
|
3559 |
-- Name: ~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3560 |
-- |
|
3561 |
|
|
3562 |
CREATE TABLE "~type._specimens_14_count_of_all_invalid_verbatim_lat_long" ( |
|
3563 |
"badLats" bigint, |
|
3564 |
"badLongs" bigint |
|
3565 |
); |
|
3566 |
|
|
3567 |
|
|
3568 |
-- |
|
3569 |
-- Name: keys("~type._specimens_14_count_of_all_invalid_verbatim_lat_long"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3570 |
-- |
|
3571 |
|
|
3572 |
CREATE FUNCTION keys(value "~type._specimens_14_count_of_all_invalid_verbatim_lat_long") RETURNS "keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long" |
|
3573 |
LANGUAGE sql IMMUTABLE |
|
3574 |
AS $$ |
|
3575 |
SELECT ROW()::public_validations."keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long" |
|
3576 |
$$; |
|
3577 |
|
|
3578 |
|
|
3579 |
-- |
|
3580 |
-- Name: ~type._specimens_15_list_distinct_locality_descriptions; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3581 |
-- |
|
3582 |
|
|
3583 |
CREATE TABLE "~type._specimens_15_list_distinct_locality_descriptions" ( |
|
3584 |
"localityDescription" text |
|
3585 |
); |
|
3586 |
|
|
3587 |
|
|
3588 |
-- |
|
3589 |
-- Name: keys("~type._specimens_15_list_distinct_locality_descriptions"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3590 |
-- |
|
3591 |
|
|
3592 |
CREATE FUNCTION keys(value "~type._specimens_15_list_distinct_locality_descriptions") RETURNS "keys_~type._specimens_15_list_distinct_locality_descriptions" |
|
3593 |
LANGUAGE sql IMMUTABLE |
|
3594 |
AS $_$ |
|
3595 |
SELECT ROW($1."localityDescription")::public_validations."keys_~type._specimens_15_list_distinct_locality_descriptions" |
|
3596 |
$_$; |
|
3597 |
|
|
3598 |
|
|
3599 |
-- |
|
3600 |
-- Name: ~type._specimens_16_list_distinct_specimen_descriptions; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
|
3601 |
-- |
|
3602 |
|
|
3603 |
CREATE TABLE "~type._specimens_16_list_distinct_specimen_descriptions" ( |
|
3604 |
"specimenDescription" text, |
|
3605 |
copies bigint NOT NULL |
|
3606 |
); |
|
3607 |
|
|
3608 |
|
|
3609 |
-- |
|
3610 |
-- Name: keys("~type._specimens_16_list_distinct_specimen_descriptions"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
3611 |
-- |
|
3612 |
|
|
3613 |
CREATE FUNCTION keys(value "~type._specimens_16_list_distinct_specimen_descriptions") RETURNS "keys_~type._specimens_16_list_distinct_specimen_descriptions" |
|
3614 |
LANGUAGE sql IMMUTABLE |
|
3615 |
AS $_$ |
|
3616 |
SELECT ROW($1."specimenDescription")::public_validations."keys_~type._specimens_16_list_distinct_specimen_descriptions" |
|
3617 |
$_$; |
|
3618 |
|
|
3619 |
|
|
3620 |
-- |
|
3113 | 3621 |
-- Name: ~type._traits_01_count_records; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: |
3114 | 3622 |
-- |
3115 | 3623 |
|
... | ... | |
4006 | 4514 |
|
4007 | 4515 |
|
4008 | 4516 |
-- |
4517 |
-- Name: values_("~type._specimens_02_count_of_unique_verbatim_families"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4518 |
-- |
|
4519 |
|
|
4520 |
CREATE FUNCTION values_(value "~type._specimens_02_count_of_unique_verbatim_families") RETURNS "values__~type._specimens_02_count_of_unique_verbatim_families" |
|
4521 |
LANGUAGE sql IMMUTABLE |
|
4522 |
AS $_$ |
|
4523 |
SELECT ROW($1.families)::public_validations."values__~type._specimens_02_count_of_unique_verbatim_families" |
|
4524 |
$_$; |
|
4525 |
|
|
4526 |
|
|
4527 |
-- |
|
4528 |
-- Name: values_("~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4529 |
-- |
|
4530 |
|
|
4531 |
CREATE FUNCTION values_(value "~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author") RETURNS "values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit" |
|
4532 |
LANGUAGE sql IMMUTABLE |
|
4533 |
AS $_$ |
|
4534 |
SELECT ROW($1.taxon_names_with_author)::public_validations."values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit" |
|
4535 |
$_$; |
|
4536 |
|
|
4537 |
|
|
4538 |
-- |
|
4539 |
-- Name: values_("~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4540 |
-- |
|
4541 |
|
|
4542 |
CREATE FUNCTION values_(value "~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth") RETURNS "values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w" |
|
4543 |
LANGUAGE sql IMMUTABLE |
|
4544 |
AS $_$ |
|
4545 |
SELECT ROW($1.taxon_name_with_author)::public_validations."values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w" |
|
4546 |
$_$; |
|
4547 |
|
|
4548 |
|
|
4549 |
-- |
|
4550 |
-- Name: values_("~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4551 |
-- |
|
4552 |
|
|
4553 |
CREATE FUNCTION values_(value "~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g") RETURNS "values__~type._specimens_08_count_of_unique_verbatim_author_tax" |
|
4554 |
LANGUAGE sql IMMUTABLE |
|
4555 |
AS $_$ |
|
4556 |
SELECT ROW($1.taxon_names_with_author)::public_validations."values__~type._specimens_08_count_of_unique_verbatim_author_tax" |
|
4557 |
$_$; |
|
4558 |
|
|
4559 |
|
|
4560 |
-- |
|
4561 |
-- Name: values_("~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4562 |
-- |
|
4563 |
|
|
4564 |
CREATE FUNCTION values_(value "~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge") RETURNS "values__~type._specimens_09_list_of_unique_verbatim_author_taxa" |
|
4565 |
LANGUAGE sql IMMUTABLE |
|
4566 |
AS $_$ |
|
4567 |
SELECT ROW($1.taxon_name_with_author)::public_validations."values__~type._specimens_09_list_of_unique_verbatim_author_taxa" |
|
4568 |
$_$; |
|
4569 |
|
|
4570 |
|
|
4571 |
-- |
|
4572 |
-- Name: values_("~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4573 |
-- |
|
4574 |
|
|
4575 |
CREATE FUNCTION values_(value "~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long") RETURNS "values__~type._specimens_13_count_of_all_verbatim_and_decimal_l" |
|
4576 |
LANGUAGE sql IMMUTABLE |
|
4577 |
AS $_$ |
|
4578 |
SELECT ROW($1."allLats", $1."decimalLats", $1."allLongs", $1."decimalLongs")::public_validations."values__~type._specimens_13_count_of_all_verbatim_and_decimal_l" |
|
4579 |
$_$; |
|
4580 |
|
|
4581 |
|
|
4582 |
-- |
|
4583 |
-- Name: values_("~type._specimens_14_count_of_all_invalid_verbatim_lat_long"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4584 |
-- |
|
4585 |
|
|
4586 |
CREATE FUNCTION values_(value "~type._specimens_14_count_of_all_invalid_verbatim_lat_long") RETURNS "values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l" |
|
4587 |
LANGUAGE sql IMMUTABLE |
|
4588 |
AS $_$ |
|
4589 |
SELECT ROW($1."badLats", $1."badLongs")::public_validations."values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l" |
|
4590 |
$_$; |
|
4591 |
|
|
4592 |
|
|
4593 |
-- |
|
4594 |
-- Name: values_("~type._specimens_15_list_distinct_locality_descriptions"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4595 |
-- |
|
4596 |
|
|
4597 |
CREATE FUNCTION values_(value "~type._specimens_15_list_distinct_locality_descriptions") RETURNS "values__~type._specimens_15_list_distinct_locality_descriptions" |
|
4598 |
LANGUAGE sql IMMUTABLE |
|
4599 |
AS $_$ |
|
4600 |
SELECT ROW($1."localityDescription")::public_validations."values__~type._specimens_15_list_distinct_locality_descriptions" |
|
4601 |
$_$; |
|
4602 |
|
|
4603 |
|
|
4604 |
-- |
|
4605 |
-- Name: values_("~type._specimens_16_list_distinct_specimen_descriptions"); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4606 |
-- |
|
4607 |
|
|
4608 |
CREATE FUNCTION values_(value "~type._specimens_16_list_distinct_specimen_descriptions") RETURNS "values__~type._specimens_16_list_distinct_specimen_descriptions" |
|
4609 |
LANGUAGE sql IMMUTABLE |
|
4610 |
AS $_$ |
|
4611 |
SELECT ROW($1.copies)::public_validations."values__~type._specimens_16_list_distinct_specimen_descriptions" |
|
4612 |
$_$; |
|
4613 |
|
|
4614 |
|
|
4615 |
-- |
|
4009 | 4616 |
-- Name: values_("~type._traits_01_count_records"); Type: FUNCTION; Schema: public_validations; Owner: - |
4010 | 4617 |
-- |
4011 | 4618 |
|
... | ... | |
11417 | 12024 |
|
11418 | 12025 |
|
11419 | 12026 |
-- |
12027 |
-- Data for Name: ~type._specimens_02_count_of_unique_verbatim_families; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12028 |
-- |
|
12029 |
|
|
12030 |
|
|
12031 |
|
|
12032 |
-- |
|
12033 |
-- Data for Name: ~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12034 |
-- |
|
12035 |
|
|
12036 |
|
|
12037 |
|
|
12038 |
-- |
|
12039 |
-- Data for Name: ~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12040 |
-- |
|
12041 |
|
|
12042 |
|
|
12043 |
|
|
12044 |
-- |
|
12045 |
-- Data for Name: ~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12046 |
-- |
|
12047 |
|
|
12048 |
|
|
12049 |
|
|
12050 |
-- |
|
12051 |
-- Data for Name: ~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12052 |
-- |
|
12053 |
|
|
12054 |
|
|
12055 |
|
|
12056 |
-- |
|
12057 |
-- Data for Name: ~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12058 |
-- |
|
12059 |
|
|
12060 |
|
|
12061 |
|
|
12062 |
-- |
|
12063 |
-- Data for Name: ~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12064 |
-- |
|
12065 |
|
|
12066 |
|
|
12067 |
|
|
12068 |
-- |
|
12069 |
-- Data for Name: ~type._specimens_15_list_distinct_locality_descriptions; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12070 |
-- |
|
12071 |
|
|
12072 |
|
|
12073 |
|
|
12074 |
-- |
|
12075 |
-- Data for Name: ~type._specimens_16_list_distinct_specimen_descriptions; Type: TABLE DATA; Schema: public_validations; Owner: - |
|
12076 |
-- |
|
12077 |
|
|
12078 |
|
|
12079 |
|
|
12080 |
-- |
|
11420 | 12081 |
-- Data for Name: ~type._traits_01_count_records; Type: TABLE DATA; Schema: public_validations; Owner: - |
11421 | 12082 |
-- |
11422 | 12083 |
|
Also available in: Unified diff
schemas/vegbien.sql: public_validations: specimens queries: added autogenerated ~type tables