Skip to content

Commit 732808c

Browse files
committed
In documentation example, use concat_values() instead of concat()
because concat() is a built-in function. Erik Rijkers
1 parent f196738 commit 732808c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/xfunc.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,13 +1088,13 @@ SELECT anyleast('abc'::text, 'def');
10881088
abc
10891089
(1 row)
10901090

1091-
CREATE FUNCTION concat(text, VARIADIC anyarray) RETURNS text AS $$
1091+
CREATE FUNCTION concat_values(text, VARIADIC anyarray) RETURNS text AS $$
10921092
SELECT array_to_string($2, $1);
10931093
$$ LANGUAGE SQL;
10941094

1095-
SELECT concat('|', 1, 4, 2);
1096-
concat
1097-
--------
1095+
SELECT concat_values('|', 1, 4, 2);
1096+
concat_values
1097+
---------------
10981098
1|4|2
10991099
(1 row)
11001100
</screen>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy