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  (Thom Brown <thombrown@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: FW: Java Memory Issue while Loading Postgres library
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Problem: concat an array of arrays