Re: Database object names and libpq in UTF-8 locale on Windows - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Database object names and libpq in UTF-8 locale on Windows
Date
Msg-id 50ACF7FA.7070108@dunslane.net
Whole thread Raw
In response to Re: Database object names and libpq in UTF-8 locale on Windows  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Database object names and libpq in UTF-8 locale on Windows
List 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

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: MySQL search query is not executing in Postgres DB
Next
From: Tom Lane
Date:
Subject: Re: MySQL search query is not executing in Postgres DB