Re: Bug in UTF8-Validation Code? - Mailing list pgsql-hackers

From Andrew - Supernews
Subject Re: Bug in UTF8-Validation Code?
Date
Msg-id slrnf0vkqh.2i67.andrew+nonews@atlantis.supernews.net
Whole thread Raw
In response to Bug in UTF8-Validation Code?  (Mario Weilguni <mweilguni@sime.com>)
Responses Re: Bug in UTF8-Validation Code?  (Mark Dilger <pgsql@markdilger.com>)
List pgsql-hackers
On 2007-04-01, Mark Dilger <pgsql@markdilger.com> wrote:
> Do any of the string functions (see 
> http://www.postgresql.org/docs/8.2/interactive/functions-string.html) run the 
> risk of generating invalid utf8 encoded strings?  Do I need to add checks?
> Are there known bugs with these functions in this regard?

The chr() function returns an octet, rather than a character; this is clearly
wrong and needs fixing.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


pgsql-hackers by date:

Previous
From: "Guillaume Smet"
Date:
Subject: Re: Column storage positions
Next
From: Tom Lane
Date:
Subject: Re: Macros for typtype (was Re: Arrays of Complex Types)