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

Re: XML ouput for psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: greg(at)turnstep(dot)com, pgsql-patches(at)postgresql(dot)org
Subject: Re: XML ouput for psql
Date: 2003-03-17 22:59:15
Message-ID: 12243.1047941955@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2003-03-17 23:08:12
Subject: Re: XML ouput for psql
Previous:From: TaralDate: 2003-03-17 22:09:10
Subject: Re: No index maximum? (was Re: No merge sort?)

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-03-17 23:08:12
Subject: Re: XML ouput for psql
Previous:From: Bruce MomjianDate: 2003-03-17 22:06:02
Subject: Re: [HACKERS] Simplifying timezone support

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