PG 9.0.3. How to select rows from xml

Поиск
Список
Период
Сортировка
От emanov
Тема PG 9.0.3. How to select rows from xml
Дата
Msg-id 1301773632062-4278076.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: PG 9.0.3. How to select rows from xml  (Mike Fowler <mike@mlfowler.com>)
Список pgsql-hackers
Hi all!
What i need is transform xml document to table like that:
insert into tmp("Name", "Value")
select t.Name, t.Value from myxml.Nodes("/doc/person") as
t('Name:varchar|Value:int')
or similar. In fact I have many rows with many columns.

How I can do it with PG 9.0.3 where I can't find xpath_table?

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/PG-9-0-3-How-to-select-rows-from-xml-tp4278076p4278076.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: FDW state from plan time
Следующее
От: Robert Haas
Дата:
Сообщение: Re: GUC assign hooks (was Re: wal_buffers = -1 and SIGHUP)