Обсуждение: pgsql: Fix bug "select lower('asd') = 'asd'" returns false with

Поиск
Список
Период
Сортировка

pgsql: Fix bug "select lower('asd') = 'asd'" returns false with

От
teodor@postgresql.org (Teodor Sigaev)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.143 -> r1.144)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.143&r2=1.144)