Fix bug "select lower('asd') = 'asd'" returns false with multibyte encoding
authorTeodor Sigaev <teodor@sigaev.ru>
Thu, 26 Jun 2008 16:06:37 +0000 (16:06 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Thu, 26 Jun 2008 16:06:37 +0000 (16:06 +0000)
commit71d3285af15e35ca2a50634bb0b1997f898929d7
tree57e378967b093fe6aa82a1c0d160959ab2c89583
parentceda2f025bcafa79d231f3c0c718592106f9f0de
Fix bug "select lower('asd') = 'asd'" returns false with multibyte encoding
and non-C locale. Fix is just to use correct source's length for char2wchar
call.
src/backend/utils/adt/formatting.c