Re: Postgresql string parsing

Поиск
Список
Период
Сортировка
От Tony Caduto
Тема Re: Postgresql string parsing
Дата
Msg-id 442AC1A6.7080407@amsoftwaredesign.com
обсуждение исходный текст
Ответ на Postgresql string parsing  (ycrux@club-internet.fr)
Ответы Re: Postgresql string parsing  (Jim Nasby <jnasby@pervasive.com>)
Список pgsql-general
ycrux@club-internet.fr wrote:
> Hi Folks,
> I'm looking for the fatest way to parse string in a postgresql function and insert each parsed chunk in a table.
Somethinglike that: 
>
>
You might be able to use the |string_to_array function which |splits a
string into array elements using the provided delimiter which could be a
EOL marker.
Then use a loop to iterate through the  array  and  insert  into  your
table.

Just a quick idea :-)
||

--
Tony Caduto
AM Software Design
http://www.amsoftwaredesign.com
Home of PG Lightning Admin for Postgresql
Your best bet for Postgresql Administration


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

Предыдущее
От: Bob Pawley
Дата:
Сообщение: Re: Connecting
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: PostgreSQL's XML support comparison against other RDBMSes