Re: Locale bug? - Mailing list pgsql-general

From Sergey Suleymanov
Subject Re: Locale bug?
Date
Msg-id 87r81gbeub.fsf@boo.eatpbank.ru
Whole thread Raw
In response to Locale bug?  (Sergey Suleymanov <solt@eatpbank.ru>)
Responses Re: Locale bug?
List pgsql-general
>>>>> Tom Lane writes:

 >> ... That is upper() doesn't work correctly after plperlu function
 >> call.

 Tom> It sounds like Perl is taking it on itself to change the
 Tom> process' LC_CTYPE settings.  That's very nasty of it :-(.  Can
 Tom> anyone confirm that libperl does such things, or find a
 Tom> workaround to prevent it?

      It seems a startup script issue. When I restarting postmaster
      manualy (within root session with LC_CTYPE = ru_RU.KOI8-R)
      everything works fine.

      Do we need "export LANG=..." before starting postmaster?

--
  Sergey Suleymanov

pgsql-general by date:

Previous
From: Phil Howard
Date:
Subject: spam or crazy mail server changes?
Next
From: Tom Lane
Date:
Subject: Re: spam or crazy mail server changes?