Project

General

Profile

« Previous | Next » 

Revision 13632

inputs/.TNRS/schema.sql: added taxon_name_is_safe()

View differences:

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