| От | Tom Lane |
|---|---|
| Тема | Re: Relocatable locale |
| Дата | |
| Msg-id | 16158.1085448570@sss.pgh.pa.us обсуждение |
| Ответ на | Relocatable locale (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Relocatable locale
|
| Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> 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
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера