]> granicus.if.org Git - postgresql/commit
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:21 +0000 (00:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Jan 2004 00:45:21 +0000 (00:45 +0000)
commitd4fd7d85f3a0b1cb33079ef0475d4d59dbc5362d
treebf7576753e48a1aa5bcb78610aff871e347ef864
parenta3c969d5220c01206a402e486890f1ba48f340e8
Fix text_position to not scan past end of source string in multibyte
case, per report from Korea PostgreSQL Users' Group.  Also do some
cosmetic cleanup in nearby code.
src/backend/utils/adt/varlena.c