|
1306 | 1306 | </entry>
|
1307 | 1307 | <entry><type>text</type></entry>
|
1308 | 1308 | <entry>
|
1309 |
| - Remove the longest string containing only the |
| 1309 | + Remove the longest string containing only characters from |
1310 | 1310 | <parameter>characters</parameter> (a space by default) from the
|
1311 |
| - start/end/both ends of the <parameter>string</parameter> |
| 1311 | + start, end, or both ends (<literal>both</> is the default) |
| 1312 | + of <parameter>string</parameter> |
1312 | 1313 | </entry>
|
1313 |
| - <entry><literal>trim(both 'x' from 'xTomxx')</literal></entry> |
| 1314 | + <entry><literal>trim(both 'xyz' from 'yxTomxx')</literal></entry> |
1314 | 1315 | <entry><literal>Tom</literal></entry>
|
1315 | 1316 | </row>
|
1316 | 1317 |
|
|
1382 | 1383 | in <parameter>characters</parameter> (a space by default)
|
1383 | 1384 | from the start and end of <parameter>string</parameter>
|
1384 | 1385 | </entry>
|
1385 |
| - <entry><literal>btrim('xyxtrimyyx', 'xy')</literal></entry> |
| 1386 | + <entry><literal>btrim('xyxtrimyyx', 'xyz')</literal></entry> |
1386 | 1387 | <entry><literal>trim</literal></entry>
|
1387 | 1388 | </row>
|
1388 | 1389 |
|
|
1657 | 1658 | <parameter>characters</parameter> (a space by default) from the start of
|
1658 | 1659 | <parameter>string</parameter>
|
1659 | 1660 | </entry>
|
1660 |
| - <entry><literal>ltrim('zzzytrim', 'xyz')</literal></entry> |
1661 |
| - <entry><literal>trim</literal></entry> |
| 1661 | + <entry><literal>ltrim('zzzytest', 'xyz')</literal></entry> |
| 1662 | + <entry><literal>test</literal></entry> |
1662 | 1663 | </row>
|
1663 | 1664 |
|
1664 | 1665 | <row>
|
|
1940 | 1941 | <parameter>characters</parameter> (a space by default) from the end of
|
1941 | 1942 | <parameter>string</parameter>
|
1942 | 1943 | </entry>
|
1943 |
| - <entry><literal>rtrim('trimxxxx', 'x')</literal></entry> |
1944 |
| - <entry><literal>trim</literal></entry> |
| 1944 | + <entry><literal>rtrim('testxxzx', 'xyz')</literal></entry> |
| 1945 | + <entry><literal>test</literal></entry> |
1945 | 1946 | </row>
|
1946 | 1947 |
|
1947 | 1948 | <row>
|
|
2985 | 2986 | </entry>
|
2986 | 2987 | <entry><type>bytea</type></entry>
|
2987 | 2988 | <entry>
|
2988 |
| - Remove the longest string containing only the bytes in |
| 2989 | + Remove the longest string containing only bytes appearing in |
2989 | 2990 | <parameter>bytes</parameter> from the start
|
2990 | 2991 | and end of <parameter>string</parameter>
|
2991 | 2992 | </entry>
|
2992 |
| - <entry><literal>trim(E'\\000'::bytea from E'\\000Tom\\000'::bytea)</literal></entry> |
| 2993 | + <entry><literal>trim(E'\\000\\001'::bytea from E'\\000Tom\\001'::bytea)</literal></entry> |
2993 | 2994 | <entry><literal>Tom</literal></entry>
|
2994 | 2995 | </row>
|
2995 | 2996 | </tbody>
|
|
3028 | 3029 | </entry>
|
3029 | 3030 | <entry><type>bytea</type></entry>
|
3030 | 3031 | <entry>
|
3031 |
| - Remove the longest string consisting only of bytes |
3032 |
| - in <parameter>bytes</parameter> from the start and end of |
| 3032 | + Remove the longest string containing only bytes appearing in |
| 3033 | + <parameter>bytes</parameter> from the start and end of |
3033 | 3034 | <parameter>string</parameter>
|
3034 | 3035 | </entry>
|
3035 |
| - <entry><literal>btrim(E'\\000trim\\000'::bytea, E'\\000'::bytea)</literal></entry> |
| 3036 | + <entry><literal>btrim(E'\\000trim\\001'::bytea, E'\\000\\001'::bytea)</literal></entry> |
3036 | 3037 | <entry><literal>trim</literal></entry>
|
3037 | 3038 | </row>
|
3038 | 3039 |
|
|
0 commit comments