Simple way to load xml into table

Поиск
Список
Период
Сортировка
От Emi
Тема Simple way to load xml into table
Дата
Msg-id 561FE488.4090704@encs.concordia.ca
обсуждение исходный текст
Ответы Re: Simple way to load xml into table
Re: Simple way to load xml into table
Список pgsql-general
Hello,

For psql 8.3, is there a simple way to load xml file into table please?

E.g.,

   <rec>
     <c1>True</c1>
     <c2>test1</c2>
     <c3>e1</c3>
   </rec>
   <rec>
     <c1>false</c1>
     <c2>test2</c2>
   </rec>

Results:
t1 (c1 text, c2 text, c3 text):

c1        | c2     | c3
-----------------------------
true    | test1 | e1
false   | test2 | null
......

Thanks a lot!


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pgpool ssl handshake failure
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: Simple way to load xml into table