Fix text_position to not scan past end of source string in multibyte
Joe Conway <mail@joeconway.com>
Fix text_position to not scan past end of source string in multibyte case, per report from Korea PostgreSQL Users' Group. Copied from Tom Lane's 7.4 branch patch.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/varlena.c | modified | +7 −4 |