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

Re: Bug in UTF8-Validation Code?

From: Mark Dilger <pgsql(at)markdilger(dot)com>
To: Mark Dilger <pgsql(at)markdilger(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Bug in UTF8-Validation Code?
Date: 2007-04-02 23:11:57
Message-ID: 46118DBD.2010005@markdilger.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Mark Dilger wrote:

> Since chr() is defined in oracle_compat.c, I decided to look at what 
> Oracle might do.  See 
> http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions18a.htm 
> 
> 
> It looks to me like they are doing the same thing that I did, though I 
> don't have Oracle installed anywhere to verify that.  Is there a 
> difference?

Reading that page again, I think I'd have to use mbrtowc() or similar in the 
spot where I'm currently just using the literal utf8 string.

In response to

pgsql-hackers by date

Next:From: Jeff DavisDate: 2007-04-02 23:14:35
Subject: Synchronized Scan benchmark results
Previous:From: Bruce MomjianDate: 2007-04-02 23:10:58
Subject: Re: scan_recycle_buffers

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