Skip site navigation (1) Skip section navigation (2)

Re: XML output ?

From: "Peter Koczan" <pjkoczan(at)gmail(dot)com>
To: "Khan, Mahmood Ahram" <Mahmood(dot)Khan(at)in(dot)unisys(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-admin-owner(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: Re: XML output ?
Date: 2007-09-01 23:48:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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
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


In response to

  • XML output ? at 2007-08-31 03:51:51 from Khan, Mahmood Ahram

pgsql-admin by date

Next:From: Decibel!Date: 2007-09-02 00:02:54
Subject: Re: Postgres can be started only when one postgres user is logged in
Previous:From: Jeff FrostDate: 2007-09-01 02:09:02
Subject: Re: pitr replica dies on startup

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group