Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit732808c

Browse files
committed
In documentation example, use concat_values() instead of concat()
because concat() is a built-in function.Erik Rijkers
1 parentf196738 commit732808c

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 FUNCTIONconcat(text, VARIADIC anyarray) RETURNS text AS $$
1091+
CREATE FUNCTIONconcat_values(text, VARIADIC anyarray) RETURNS text AS $$
10921092
SELECT array_to_string($2, $1);
10931093
$$ LANGUAGE SQL;
10941094

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp