]> granicus.if.org Git - postgresql/commit
Fix regex, LIKE, and some other second-rank text-manipulation functions
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2007 22:52:52 +0000 (22:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2007 22:52:52 +0000 (22:52 +0000)
commit7583f9a7cab95e067581606d86b4962525fa81f5
tree2fa2bfbd6c1c97c89b224a0a2c03d46745b538b0
parentcc59049daf78c3d351c1ec78fb319b5fdeb20d53
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.
src/backend/access/hash/hashfunc.c
src/backend/utils/adt/like.c
src/backend/utils/adt/like_match.c
src/backend/utils/adt/oracle_compat.c
src/backend/utils/adt/regexp.c
src/include/fmgr.h