string_to_array has to be stable?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема string_to_array has to be stable?
Дата
Msg-id AANLkTik8v7O9QR9jjHNVh62h-COC1B0FDUNmEYMdtKjR@mail.gmail.com
обсуждение исходный текст
Ответы Re: string_to_array has to be stable?  (Thom Brown <thombrown@gmail.com>)
Re: string_to_array has to be stable?  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Hello

I am working on to_array, to_string functions and I am looking on
string_to_array function. I am surprised so this function is marked as
immutable

postgres=# select array_to_string(array[current_date],',');array_to_string
-----------------2010-07-20
(1 row)

postgres=# set datestyle to German ;
SET
postgres=# select array_to_string(array[current_date],',');array_to_string
-----------------20.07.2010
(1 row)

it is probably wrong

Regards

Pavel Stehule


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

Предыдущее
От: Itagaki Takahiro
Дата:
Сообщение: Re: sql/med review - problems with patching
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: sql/med review - problems with patching