forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit35532e3
committed
Doc: improve description of trim() and related functions.
Per bug #14441 from Mark Pether, the documentation could be misread,mainly because some of the examples failed to show what happens witha multicharacter "characters to trim" string. Also, while the textdescription in most of these entries was fairly clear that the"characters" argument is a set of characters not a substring to match,some of them used variant wording that was a bit less clear.trim() itself suffered from both deficiencies and was thus prettymisinterpretable.Also fix failure to explain which of LEADING/TRAILING/BOTH is thedefault.Discussion:https://postgr.es/m/20161130011710.6539.53657@wrigleys.postgresql.org1 parenteacdd5d commit35532e3
1 file changed
+14
-13
lines changedLines changed: 14 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1306 | 1306 |
| |
1307 | 1307 |
| |
1308 | 1308 |
| |
1309 |
| - | |
| 1309 | + | |
1310 | 1310 |
| |
1311 |
| - | |
| 1311 | + | |
| 1312 | + | |
1312 | 1313 |
| |
1313 |
| - | |
| 1314 | + | |
1314 | 1315 |
| |
1315 | 1316 |
| |
1316 | 1317 |
| |
| |||
1382 | 1383 |
| |
1383 | 1384 |
| |
1384 | 1385 |
| |
1385 |
| - | |
| 1386 | + | |
1386 | 1387 |
| |
1387 | 1388 |
| |
1388 | 1389 |
| |
| |||
1651 | 1652 |
| |
1652 | 1653 |
| |
1653 | 1654 |
| |
1654 |
| - | |
1655 |
| - | |
| 1655 | + | |
| 1656 | + | |
1656 | 1657 |
| |
1657 | 1658 |
| |
1658 | 1659 |
| |
| |||
1934 | 1935 |
| |
1935 | 1936 |
| |
1936 | 1937 |
| |
1937 |
| - | |
1938 |
| - | |
| 1938 | + | |
| 1939 | + | |
1939 | 1940 |
| |
1940 | 1941 |
| |
1941 | 1942 |
| |
| |||
3199 | 3200 |
| |
3200 | 3201 |
| |
3201 | 3202 |
| |
3202 |
| - | |
| 3203 | + | |
3203 | 3204 |
| |
3204 | 3205 |
| |
3205 | 3206 |
| |
3206 |
| - | |
| 3207 | + | |
3207 | 3208 |
| |
3208 | 3209 |
| |
3209 | 3210 |
| |
| |||
3242 | 3243 |
| |
3243 | 3244 |
| |
3244 | 3245 |
| |
3245 |
| - | |
3246 |
| - | |
| 3246 | + | |
| 3247 | + | |
3247 | 3248 |
| |
3248 | 3249 |
| |
3249 |
| - | |
| 3250 | + | |
3250 | 3251 |
| |
3251 | 3252 |
| |
3252 | 3253 |
| |
|
0 commit comments
Comments
(0)