Revision 6793
Added by Aaron Marcuse-Kubitza almost 12 years ago
schemas/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
schemas/functions.sql: Added _split()