Re: XML ouput for psql - Mailing list pgsql-patches

From Tom Lane
Subject Re: XML ouput for psql
Date
Msg-id 12243.1047941955@sss.pgh.pa.us
Whole thread Raw
In response to Re: XML ouput for psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: XML ouput for psql
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I like the idea of doing XML in psql --- it seems like a natural place
> for it.

Not really; what of applications other than shell scripts that would
like to get XML-formatted output?

There was some talk in the FE/BE protocol thread of adding hooks to
support more than one output format from the backend.  Much of the
infrastructure already exists (see DestReceiver in the backend); we
just need an agreement on the protocol.  On the whole I'd rather see
it done that way than burying the logic in psql.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Simplifying timezone support
Next
From: Bruce Momjian
Date:
Subject: Re: XML ouput for psql