Re: XML export function signatures - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: XML export function signatures
Date
Msg-id 200702130058.37099.peter_e@gmx.net
Whole thread Raw
In response to Re: XML export function signatures  (Tommy Gildseth <tommy@gildseth.com>)
List pgsql-hackers
Tommy Gildseth wrote:
> How do you define the table name when fetching data using a join,
> union etc. where the data doesn't necessarily originate from a single
> table?

If you use the query_to_xml function, then I just write "<table>" 
without any particular name.

> Another neat feature would be if you could specify a set of columns
> which should be represented as attributes instead of nodes.

I'm sure there are plenty of possible neat features, but most of these 
can be implemented by passing the result through an XSLT 
transformation.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Jeremy Drake
Date:
Subject: Re: pgsql: Fix backend crash in parsing incorrect tsquery.
Next
From: "Chad Wagner"
Date:
Subject: Re: Acclerating INSERT/UPDATE using UPS