Re: Splitting text column to multiple rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Splitting text column to multiple rows
Дата
Msg-id 13151.1269874834@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Splitting text column to multiple rows  ("Andrus" <kobruleht2@hot.ee>)
Ответы Re: Splitting text column to multiple rows  ("Andrus" <kobruleht2@hot.ee>)
Re: Splitting text column to multiple rows  ("Andrus" <kobruleht2@hot.ee>)
Список pgsql-general
"Andrus" <kobruleht2@hot.ee> writes:
> Pavel,
>> pavel@postgres:5481=# select unnest(string_to_array('23,2,3,4,5',','));
>> unnest
>> --------
>> 23
>> 2
>> 3
>> 4
>> (4 rows)

> Result is wrong: it must contain 5 rows.

Surely that's a copy-and-paste mistake?  I get 5 rows from this example.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to give security to pg_catalogs
Следующее
От: "Andrus"
Дата:
Сообщение: Re: Splitting text column to multiple rows