Project

General

Profile

« Previous | Next » 

Revision 5685

schemas/vegbien.sql: Added _is_higher_taxon()

View differences:

schemas/vegbien.my.sql
131 131

  
132 132

  
133 133
--
134
-- Name: _is_higher_taxon(taxonrank); Type: FUNCTION; Schema: public; Owner: -
135
--
136

  
137

  
138

  
139

  
140
--
134 141
-- Name: _taxonlabel_set_matched_label_id(int(11), int(11), double precision); Type: FUNCTION; Schema: public; Owner: -
135 142
--
136 143

  
schemas/vegbien.sql
301 301

  
302 302

  
303 303
--
304
-- Name: _is_higher_taxon(taxonrank); Type: FUNCTION; Schema: public; Owner: -
305
--
306

  
307
CREATE FUNCTION _is_higher_taxon(rank taxonrank) RETURNS boolean
308
    LANGUAGE sql IMMUTABLE STRICT
309
    AS $_$
310
SELECT $1 < 'family'
311
$_$;
312

  
313

  
314
--
304 315
-- Name: _taxonlabel_set_matched_label_id(integer, integer, double precision); Type: FUNCTION; Schema: public; Owner: -
305 316
--
306 317

  

Also available in: Unified diff