Re: UTF8 conversion differences from v8.1.3 to v8.1.4 - Mailing list pgsql-general

From Tom Lane
Subject Re: UTF8 conversion differences from v8.1.3 to v8.1.4
Date
Msg-id 15918.1153343584@sss.pgh.pa.us
Whole thread Raw
In response to Re: UTF8 conversion differences from v8.1.3 to v8.1.4  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: UTF8 conversion differences from v8.1.3 to v8.1.4  (Eric Faulhaber <ecf@goldencode.com>)
Re: UTF8 conversion differences from v8.1.3 to v8.1.4  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
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 ;-)

> 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

pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: Problem creating a function
Next
From: Tom Lane
Date:
Subject: Re: Problem creating a function