Fix text_position to not scan past end of source string in multibyte
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Jan 2004 00:45:34 +0000 (00:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Jan 2004 00:45:34 +0000 (00:45 +0000)
commitb96efed8e6002c47add03d971d9e3564ea67af70
tree9f67964131375ef075874df561831fece1189ca4
parent976f0eb91a96014abcd89fcffcf49665e8840471
Fix text_position to not scan past end of source string in multibyte
case, per report from Korea PostgreSQL Users' Group.
src/backend/utils/adt/varlena.c