diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-30 13:34:13 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-30 13:34:13 -0500 |
commit | 213c0f2d7880f78c710127920cf4bf7017e0fa57 (patch) | |
tree | 4eb031b345395a2c62d26fcf9363ba321296d1c0 /src/backend/executor/nodeLockRows.c | |
parent | 021d254d9aa0a26a2f6e8cecd922024e65be93a0 (diff) | |
download | postgresql-213c0f2d7880f78c710127920cf4bf7017e0fa57.tar.gz postgresql-213c0f2d7880f78c710127920cf4bf7017e0fa57.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/backend/executor/nodeLockRows.c')
0 files changed, 0 insertions, 0 deletions