Revision 5009
Added by Aaron Marcuse-Kubitza about 12 years ago
functions.sql | ||
---|---|---|
168 | 168 |
|
169 | 169 |
|
170 | 170 |
-- |
171 |
-- Name: _join_words(anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: - |
|
172 |
-- |
|
173 |
|
|
174 |
CREATE FUNCTION _join_words("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 |
|
175 |
LANGUAGE sql IMMUTABLE |
|
176 |
AS $_$ |
|
177 |
SELECT array_to_string(ARRAY[$1, $2, $3, $4, $5, $6, $7, $8, $9, $10], ' ') |
|
178 |
$_$; |
|
179 |
|
|
180 |
|
|
181 |
-- |
|
171 | 182 |
-- Name: _label(anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: - |
172 | 183 |
-- |
173 | 184 |
|
Also available in: Unified diff
schemas/functions.sql: Added _join_words()