Revision 4052
Added by Aaron Marcuse-Kubitza over 12 years ago
schemas/functions.sql | ||
---|---|---|
121 | 121 |
|
122 | 122 |
|
123 | 123 |
-- |
124 |
-- Name: join_strs_transform_preserve_empty(text, text, text); Type: FUNCTION; Schema: functions; Owner: -
|
|
124 |
-- Name: join_strs_transform(text, text, text); Type: FUNCTION; Schema: functions; Owner: - |
|
125 | 125 |
-- |
126 | 126 |
|
127 |
CREATE FUNCTION join_strs_transform_preserve_empty(state text, delim text, value text) RETURNS text
|
|
127 |
CREATE FUNCTION join_strs_transform(state text, delim text, value text) RETURNS text |
|
128 | 128 |
LANGUAGE sql IMMUTABLE |
129 | 129 |
AS $_$ |
130 | 130 |
SELECT (CASE |
... | ... | |
140 | 140 |
-- |
141 | 141 |
|
142 | 142 |
CREATE AGGREGATE join_strs(text, text) ( |
143 |
SFUNC = join_strs_transform_preserve_empty,
|
|
143 |
SFUNC = join_strs_transform, |
|
144 | 144 |
STYPE = text |
145 | 145 |
); |
146 | 146 |
|
Also available in: Unified diff
Renamed join_strs_transform_preserve_empty() to join_strs_transform() now that there are no other join_strs_transform_...() functions