You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
326 B
15 lines
326 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE FUNCTION immutable_array_to_string(arr ANYARRAY, sep TEXT)
|
|
RETURNS text
|
|
AS $$
|
|
SELECT array_to_string(arr, sep);
|
|
$$
|
|
LANGUAGE SQL
|
|
IMMUTABLE;
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP FUNCTION IF EXISTS immutable_array_to_string;
|
|
-- +goose StatementEnd
|