Commit 732808c0 authored by Bruce Momjian's avatar Bruce Momjian

In documentation example, use concat_values() instead of concat()

because concat() is a built-in function.

Erik Rijkers
parent f1967385
......@@ -1088,13 +1088,13 @@ SELECT anyleast('abc'::text, 'def');
abc
(1 row)
CREATE FUNCTION concat(text, VARIADIC anyarray) RETURNS text AS $$
CREATE FUNCTION concat_values(text, VARIADIC anyarray) RETURNS text AS $$
SELECT array_to_string($2, $1);
$$ LANGUAGE SQL;
SELECT concat('|', 1, 4, 2);
concat
--------
SELECT concat_values('|', 1, 4, 2);
concat_values
---------------
1|4|2
(1 row)
</screen>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment