Project

General

Profile

« Previous | Next » 

Revision 4325

schemas/functions.sql: Added _join()

View differences:

functions.sql
73 73

  
74 74

  
75 75
--
76
-- Name: _join(anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: -
77
--
78

  
79
CREATE FUNCTION _join("0" anyelement DEFAULT NULL::unknown, "1" anyelement DEFAULT NULL::unknown, "2" anyelement DEFAULT NULL::unknown, "3" anyelement DEFAULT NULL::unknown, "4" anyelement DEFAULT NULL::unknown, "5" anyelement DEFAULT NULL::unknown, "6" anyelement DEFAULT NULL::unknown, "7" anyelement DEFAULT NULL::unknown, "8" anyelement DEFAULT NULL::unknown, "9" anyelement DEFAULT NULL::unknown) RETURNS anyelement
80
    LANGUAGE sql IMMUTABLE
81
    AS $_$
82
SELECT array_to_string(ARRAY[$1, $2, $3, $4, $5, $6, $7, $8, $9, $10], '; ')
83
$_$;
84

  
85

  
86
--
76 87
-- Name: _label(text, text); Type: FUNCTION; Schema: functions; Owner: -
77 88
--
78 89

  

Also available in: Unified diff