Re: Day and month name localization uses wrong

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Day and month name localization uses wrong
Дата
Msg-id 20061125164932.GA7261@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Day and month name localization uses wrong  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Day and month name localization uses wrong
Список pgsql-hackers
Bruce Momjian wrote:
> 
> I now remember a new problem with this feature, irregardless of whether
> we use 'lc_messages' or 'lc_time'.
> 
> The problem is having a function's output affected by a GUC variable. 
> If you create an expression index using the function, and later query
> the index with a different GUC value, or you do inserts with different
> GUC values, the index will not work.
> 
> I know we have had this problem in the past, but I can't remember if or
> how we addressed it.

Mark the function as volatile, which precludes from using it in a
functional index?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Day and month name localization uses wrong
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Day and month name localization uses wrong