Re: XML output ?

Поиск
Список
Период
Сортировка
От Peter Koczan
Тема Re: XML output ?
Дата
Msg-id 4544e0330709011648r797a16b8l7bc9792a01983563@mail.gmail.com
обсуждение исходный текст
Ответ на XML output ?  ("Khan, Mahmood Ahram" <Mahmood.Khan@in.unisys.com>)
Список pgsql-admin
> Is it possible to generate the output of SQL statements in PostgreSQL to XML
> output?
>
> If anybody has came across with this or worked on it? Or anybody has any
> Documentation for that?

Yes, you can either install the xml2 contrib module for current
versions, or if you can hold out until 8.3, there will be functions
for xml output built into postgres.

Check out http://developer.postgresql.org/pgdocs/postgres/functions-xml.html
and http://developer.postgresql.org/pgdocs/postgres/datatype-xml.html
for the upcoming 8.3 stuff. I couldn't find anything on xml2 quickly,
but I'm sure a few minutes of searching will help you find what you
need.

Peter

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

Предыдущее
От: Jeff Frost
Дата:
Сообщение: Re: pitr replica dies on startup
Следующее
От: Decibel!
Дата:
Сообщение: Re: Postgres can be started only when one postgres user is logged in