Convert of string to array problem

Поиск
Список
Период
Сортировка
От Bård Grønbech
Тема Convert of string to array problem
Дата
Msg-id w2gc74accdd1004290535yae6032depa737ba1ae3c463bd@mail.gmail.com
обсуждение исходный текст
Ответы Re: Convert of string to array problem
Список pgsql-general
Have a string like '0.1;0.2;null;0.3' which I would like to convert
into a double precision[] array.

Trying:

select cast (string_to_array('0.1;0.2;null;0.3', ';') as float8[])

gives me an error: invalid input syntax for type double precision: "null".

Can anybody help me?

-Bård

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