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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2007-04-02 23:14:35 Synchronized Scan benchmark results
Previous Message Bruce Momjian 2007-04-02 23:10:58 Re: scan_recycle_buffers