Re: UTF8 conversion differences from v8.1.3 to v8.1.4

Поиск
Список
Период
Сортировка
От Eric Faulhaber
Тема Re: UTF8 conversion differences from v8.1.3 to v8.1.4
Дата
Msg-id 44BEA325.30309@goldencode.com
обсуждение исходный текст
Ответ на Re: UTF8 conversion differences from v8.1.3 to v8.1.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: UTF8 conversion differences from v8.1.3 to v8.1.4
Список pgsql-general
Tom Lane wrote:
> Martijn van Oosterhout <kleptog@svana.org> writes:
>> The fact is that if you're using binary format paramaters and output
>> you can put embedded nulls into strings and get them back out.
>
> Not any more ;-)
>

OK, but now that this "feature" has been removed in 8.1.4, how is this
supposed to be handled, given that we don't control what string data
we're handed?  How does psql deal with it?

>> By changing a
>> few strcmps to memcmps you can get sane behaviour for sorting a several
>> other operations.
>
> Given the lack of "memcoll", that proposal isn't going to fly ...
> at least not until we replace all the locale support code with something
> else (that hopefully will be null-clean).
>
>             regards, tom lane

Thanks,
Eric

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem creating a function
Следующее
От: Cornelia Boenigk
Дата:
Сообщение: Re: Problem creating a function - solved