Revision 13530
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/vegbien.my.sql | ||
---|---|---|
13193 | 13193 |
|
13194 | 13194 |
|
13195 | 13195 |
-- |
13196 |
-- Name: taxon_scrub_modify(varchar(255)); Type: FUNCTION; Schema: TNRS; Owner: - |
|
13197 |
-- |
|
13198 |
|
|
13199 |
|
|
13200 |
|
|
13201 |
|
|
13202 |
-- |
|
13203 |
-- Name: FUNCTION taxon_scrub_modify(view_query varchar(255)); Type: COMMENT; Schema: TNRS; Owner: - |
|
13204 |
-- |
|
13205 |
|
|
13206 |
|
|
13207 |
|
|
13208 |
|
|
13209 |
-- |
|
13196 | 13210 |
-- Name: tnrs_populate_fields(); Type: FUNCTION; Schema: TNRS; Owner: - |
13197 | 13211 |
-- |
13198 | 13212 |
|
trunk/schemas/vegbien.sql | ||
---|---|---|
16895 | 16895 |
|
16896 | 16896 |
|
16897 | 16897 |
-- |
16898 |
-- Name: taxon_scrub_modify(text); Type: FUNCTION; Schema: TNRS; Owner: - |
|
16899 |
-- |
|
16900 |
|
|
16901 |
CREATE FUNCTION taxon_scrub_modify(view_query text) RETURNS void |
|
16902 |
LANGUAGE sql |
|
16903 |
AS $_$ |
|
16904 |
SELECT util.recreate_view('"TNRS".taxon_scrub', $1); |
|
16905 |
$_$; |
|
16906 |
|
|
16907 |
|
|
16908 |
-- |
|
16909 |
-- Name: FUNCTION taxon_scrub_modify(view_query text); Type: COMMENT; Schema: TNRS; Owner: - |
|
16910 |
-- |
|
16911 |
|
|
16912 |
COMMENT ON FUNCTION taxon_scrub_modify(view_query text) IS ' |
|
16913 |
usage: |
|
16914 |
SELECT "TNRS".taxon_scrub_modify($$ |
|
16915 |
SELECT * |
|
16916 |
FROM "TNRS"."ValidMatchedTaxon" |
|
16917 |
LEFT JOIN "TNRS"."taxon_scrub.scrubbed_unique_taxon_name.*" USING (scrubbed_unique_taxon_name); |
|
16918 |
$$); |
|
16919 |
|
|
16920 |
idempotent |
|
16921 |
'; |
|
16922 |
|
|
16923 |
|
|
16924 |
-- |
|
16898 | 16925 |
-- Name: tnrs_populate_fields(); Type: FUNCTION; Schema: TNRS; Owner: - |
16899 | 16926 |
-- |
16900 | 16927 |
|
Also available in: Unified diff
inputs/.TNRS/schema.sql: added taxon_scrub_modify()