Bruce Momjian <[EMAIL PROTECTED]> writes:
> I have two questions.  First, setlocale() seemed to be inconsistently
> set inside and outside of ENABLE_NLS.  I assume the proper location is
> inside.

Please do *not* go adding setlocale calls that were not there before.
You *will* break things.

> !         setlocale(LC_ALL, "");
            ^^^^^^^^^^^^^^^^^^^^^

Putting this call in the backend is a very serious mistake.  It might be
okay in clients, but not in the backend.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to