Re: Collation patch's handling of wcstombs/mbstowcs is sheerest fantasy

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Collation patch's handling of wcstombs/mbstowcs is sheerest fantasy
Date: 2011-04-24 23:56:47
Message-ID: 1303689407.5006.17.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On fre, 2011-04-22 at 16:32 -0400, Tom Lane wrote:
> It's possible that things are not too broken in practice, because it's
> likely that the transformations done by these functions only depend on
> the encoding indicated by LC_CTYPE, and we (try to) enforce that all
> locales used in a given database match the database encoding. Still,
> that's a rather shaky chain of reasoning.

Yeah, that was the result I had arrived at.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-04-24 23:57:35 Re: Collation patch's handling of wcstombs/mbstowcs is sheerest fantasy
Previous Message Peter Eisentraut 2011-04-24 23:31:53 Re: windows consolidated cleanup