Re: Database object names and libpq in UTF-8 locale on Windows

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Sebastien FLAESCH <sf(at)4js(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Database object names and libpq in UTF-8 locale on Windows
Date: 2012-11-21 15:49:14
Message-ID: 50ACF7FA.7070108@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Given we're calling to_lower() on a single byte in the code referred
> to, should we even be doing that when we have a multi-byte encoding
> and the high bit is set?
>
>

Nobody responded to this, but I'm rather inclined to say we should not.

Here's a simple patch to avoid this case.

Comments?

cheers

andrew

Attachment Content-Type Size
ident-lower-mbfix.patch text/x-patch 1.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-11-21 16:01:32 Re: MySQL search query is not executing in Postgres DB
Previous Message Simon Riggs 2012-11-21 15:27:25 Re: MySQL search query is not executing in Postgres DB