Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim(at)gunduz(dot)org> writes:
> On Sun, 2009-09-06 at 12:52 -0400, Tom Lane wrote:
>> I would have said that the RPMs are
>> not built in any way significantly different from a straight
>> configure-and-build-from-source, but it appears that something in
>> the RPM build options makes this work. Investigating ...
> Could it be because of perl-Text-Iconv package?
Well, you have to install that before you can test the problem at all,
but the working and non-working cases are using the same Text::IConv
code. I think I just figured it out though. I had dismissed locale as
not being the critical difference, but that was foolish (and I paid for
it with an hour of wasted effort). My RPM installation is working
because it defaults to en_US locale, and my source installation is not
working because it uses C locale. If I switch to either en_US or cz_CZ
locale then Text::IConv gives the expected result.
I now believe that the OP's actual problem is related to this:
He's probably ending up in C locale internally. If so it'll be fixed
The only observation not accounted for is Robert's statement that he
couldn't reproduce it in 8.4.0 --- but I think the behavior with the bug
is dependent on the postmaster's starting environment, so it would be
easy to fail to duplicate someone else's result.
regards, tom lane
In response to
pgsql-bugs by date
|Next:||From: Stefan Kaltenbrunner||Date: 2009-09-06 20:12:22|
|Subject: Re: BUG #5040: Latest version of PostgreSQL's JDBC driver
is not available in Maven's central repository|
|Previous:||From: Devrim GÜNDÜZ||Date: 2009-09-06 17:55:46|
|Subject: Re: BUG #5010: perl iconv function returns ? character|