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

Commit91cf5ef

Browse files
committed
Document that btrim()'s second parameter is optional, and defaults to spaces.
1 parent40b6d68 commit91cf5ef

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.225 2004/12/01 19:32:12 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.226 2004/12/02 17:14:54 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -1070,12 +1070,13 @@ PostgreSQL documentation
10701070
</row>
10711071

10721072
<row>
1073-
<entry><literal><function>btrim</function>(<parameter>string</parameter> <type>text</type>, <parameter>characters</parameter> <type>text</type>)</literal></entry>
1073+
<entry><literal><function>btrim</function>(<parameter>string</parameter> <type>text</type>
1074+
<optional>, <parameter>characters</parameter> <type>text</type></optional>)</literal></entry>
10741075
<entry><type>text</type></entry>
10751076
<entry>
10761077
Remove the longest string consisting only of characters
1077-
in <parameter>characters</parameter>from the start and end of
1078-
<parameter>string</parameter>.
1078+
in <parameter>characters</parameter>(or spaces if not supplied)
1079+
from the start and end of<parameter>string</parameter>.
10791080
</entry>
10801081
<entry><literal>btrim('xyxtrimyyx', 'xy')</literal></entry>
10811082
<entry><literal>trim</literal></entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp