docs: document TRIM "comma" syntax

This syntax is supported by the parser, but is non-standard.

_Not_ backpatched to 9.3 in case we change our minds.
This commit is contained in:
Bruce Momjian 2013-08-14 17:26:36 -04:00
parent e2cd368678
commit 5368a23eeb
1 changed files with 19 additions and 0 deletions

View File

@ -1293,6 +1293,25 @@
<entry><literal>Tom</literal></entry>
</row>
<row>
<entry>
<indexterm>
<primary>trim</primary>
</indexterm>
<literal><function>trim(<optional>leading | trailing
| both</optional> <optional>from</optional>
<parameter>string</parameter>
<optional><parameter>, characters</parameter></optional>
)</function></literal>
</entry>
<entry><type>text</type></entry>
<entry>
Non-standard version of <function>trim()</>
</entry>
<entry><literal>trim(both from 'xTomxx', 'x')</literal></entry>
<entry><literal>Tom</literal></entry>
</row>
<row>
<entry>
<indexterm>