Project

General

Profile

« Previous | Next » 

Revision 6793

schemas/functions.sql: Added _split()

View differences:

functions.sql
367 367

  
368 368

  
369 369
--
370
-- Name: _split(text, text); Type: FUNCTION; Schema: functions; Owner: -
371
--
372

  
373
CREATE FUNCTION _split(value text DEFAULT NULL::text, separator text DEFAULT '; '::text) RETURNS SETOF text
374
    LANGUAGE sql IMMUTABLE STRICT
375
    AS $_$
376
SELECT regexp_split_to_table($1, $2)
377
$_$;
378

  
379

  
380
--
370 381
-- Name: join_strs_transform(text, text, text); Type: FUNCTION; Schema: functions; Owner: -
371 382
--
372 383

  

Also available in: Unified diff