OSDN Git Service

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)
commit5ff98999334aa2f9cb3dcf542a54e07e59cf5881
tree88d5fbff45f41c66f2bd01ca4ec785665e09eed3
parent13c843d085fa0866eb9b8e7208d012ea7f93563f
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