Improve implementation of btrim/ltrim/rtrim: provide a special case for

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 11d5c82002a07827cc8896e34ea0d1b6cdb93e49
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-05-23T22:33:23Z
Releases: 7.4.1
Improve implementation of btrim/ltrim/rtrim: provide a special case for
single-byte encodings, and a direct C implementation of the single-argument
forms (where spaces are always what gets trimmed).  This is in preparation
for using rtrim1() as the bpchar-to-text cast operator, but is a useful
performance improvement even if we decide not to do that.

Files