|
1 | 1 | <!--
|
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 $ |
3 | 3 | PostgreSQL documentation
|
4 | 4 | -->
|
5 | 5 |
|
@@ -1070,12 +1070,13 @@ PostgreSQL documentation
|
1070 | 1070 | </row>
|
1071 | 1071 |
|
1072 | 1072 | <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> |
1074 | 1075 | <entry><type>text</type></entry>
|
1075 | 1076 | <entry>
|
1076 | 1077 | 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>. |
1079 | 1080 | </entry>
|
1080 | 1081 | <entry><literal>btrim('xyxtrimyyx', 'xy')</literal></entry>
|
1081 | 1082 | <entry><literal>trim</literal></entry>
|
|