Skip site navigation (1) Skip section navigation (2)

Re: Bug in UTF8-Validation Code?

From: Andrew - Supernews <andrew+nonews(at)supernews(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug in UTF8-Validation Code?
Date: 2007-04-01 15:44:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On 2007-04-01, Mark Dilger <pgsql(at)markdilger(dot)com> wrote:
> Do any of the string functions (see 
> 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 - individual and corporate NNTP services

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2007-04-01 18:31:41
Subject: Re: Macros for typtype (was Re: Arrays of Complex Types)
Previous:From: Guillaume SmetDate: 2007-04-01 15:13:39
Subject: Re: Column storage positions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group