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: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: greg(at)turnstep(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: XML ouput for psql
Date: 2003-03-06 00:16:54
Message-ID: 1885.1046909814@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I also think that psql is not the place to implement something like this.

Agreed.

> It's most likely best put in the backend, as a function like
>     xmlfoo('select * from t1;')

That seems a little bizarre.  Wouldn't we want to have a switch that
just flips the SELECT output format from one style to the other?

This is also a good time to stop and ask whether the frontend/backend
protocol needs to change to support this.  Not having read the spec,
I have no idea what the low-level transport needs are for XML output,
but I suspect our present protocol is not it ...

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Sean ChittendenDate: 2003-03-06 00:50:49
Subject: Re: XML ouput for psql
Previous:From: Bob CalcoDate: 2003-03-06 00:05:38
Subject: Re: XML ouput for psql

pgsql-patches by date

Next:From: Joe ConwayDate: 2003-03-06 01:32:04
Subject: Re: XML ouput for psql
Previous:From: Peter EisentrautDate: 2003-03-05 22:38:27
Subject: Re: XML ouput for psql

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