Revision 13632
Added by Aaron Marcuse-Kubitza over 10 years ago
vegbien.sql | ||
---|---|---|
16928 | 16928 |
|
16929 | 16929 |
|
16930 | 16930 |
-- |
16931 |
-- Name: taxon_name_is_safe(text); Type: FUNCTION; Schema: TNRS; Owner: - |
|
16932 |
-- |
|
16933 |
|
|
16934 |
CREATE FUNCTION taxon_name_is_safe(taxon_name text) RETURNS boolean |
|
16935 |
LANGUAGE sql IMMUTABLE |
|
16936 |
AS $_$ |
|
16937 |
SELECT $1 != ANY("TNRS".unsafe_taxon_names()) |
|
16938 |
$_$; |
|
16939 |
|
|
16940 |
|
|
16941 |
-- |
|
16931 | 16942 |
-- Name: taxon_scrub_modify(text); Type: FUNCTION; Schema: TNRS; Owner: - |
16932 | 16943 |
-- |
16933 | 16944 |
|
Also available in: Unified diff
inputs/.TNRS/schema.sql: added taxon_name_is_safe()