pgsql: Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were
Дата
Msg-id 20081110180221.0DE947545A4@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were measuring
the length of a UTF8 character with pg_mblen (wrong if DB encoding isn't
UTF8), and the latter was blithely assuming that a static buffer would somehow
revert to all zeroes for each use.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        xml.c (r1.80 -> r1.81)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.80&r2=1.81)

В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pgsql: Unite ReadBufferWithFork, ReadBufferWithStrategy, and
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were