diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-30 13:34:14 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-30 13:34:14 -0500 |
commit | 523bb1de834e9c05fec0f0d85330cfa15a3000b7 (patch) | |
tree | 9fb26c95d28b0dc7dd86545124cb5f3ff6987bad /src/tutorial/complex.c | |
parent | be0b98fc21648f8483d00670a73c5e6ea89a5fb1 (diff) | |
download | postgresql-523bb1de834e9c05fec0f0d85330cfa15a3000b7.tar.gz postgresql-523bb1de834e9c05fec0f0d85330cfa15a3000b7.zip |
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 with
a multicharacter "characters to trim" string. Also, while the text
description 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 pretty
misinterpretable.
Also fix failure to explain which of LEADING/TRAILING/BOTH is the
default.
Discussion: https://postgr.es/m/20161130011710.6539.53657@wrigleys.postgresql.org
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions