Project

General

Profile

« Previous | Next » 

Revision 5732

schemas/vegbien.sql: Added _taxonomic_name_is_epithet()

View differences:

schemas/vegbien.my.sql
159 159

  
160 160

  
161 161
--
162
-- Name: _taxonomic_name_is_epithet(taxonrank); Type: FUNCTION; Schema: public; Owner: -
163
--
164

  
165

  
166

  
167

  
168
--
162 169
-- Name: make_analytical_db(); Type: FUNCTION; Schema: public; Owner: -
163 170
--
164 171

  
schemas/vegbien.sql
350 350

  
351 351

  
352 352
--
353
-- Name: _taxonomic_name_is_epithet(taxonrank); Type: FUNCTION; Schema: public; Owner: -
354
--
355

  
356
CREATE FUNCTION _taxonomic_name_is_epithet(rank taxonrank) RETURNS boolean
357
    LANGUAGE sql IMMUTABLE STRICT
358
    AS $_$
359
SELECT $1 <= 'genus'
360
$_$;
361

  
362

  
363
--
353 364
-- Name: make_analytical_db(); Type: FUNCTION; Schema: public; Owner: -
354 365
--
355 366

  

Also available in: Unified diff