Fix regex, LIKE, and some other second-rank text-manipulation functions

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

Commit: 7583f9a7cab95e067581606d86b4962525fa81f5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-09-21T22:52:52Z
Releases: 8.3.0
Fix regex, LIKE, and some other second-rank text-manipulation functions
to not cause needless copying of text datums that have 1-byte headers.
Greg Stark, in response to performance gripe from Guillaume Smet and
ITAGAKI Takahiro.

Files