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

From Peter Eisentraut
Subject Re: XML export function signatures
Date
Msg-id 200702122357.49759.peter_e@gmx.net
Whole thread Raw
In response to Re: XML export function signatures  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: XML export function signatures  (Tommy Gildseth <tommy@gildseth.com>)
List pgsql-hackers
Andrew Dunstan wrote:
> . table_to_xml_and_xmlschema  seems like a mouthful - can we shorten
> it a bit?

Well, it gives you back a mouthful of data, too. :)

> . what are the two ways of representing data that tableforest
> distinguishes?

tableforest = false gives you something like

<tablename><row> <!-- where "row" is constant --> <col1name>data</col1name> <col2name>data</col2name></row><row>
...</row>...
</tablename>

tableforest = true gives you something like

<tablename><col1name>data</col1name><col2name>data</col2name>
</tablename>

<tablename>...
</tablename>

...

> . can we have versions that supply defaults for params after the
> first?

I would like that, but I don't know what the defaults should be.

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


pgsql-hackers by date:

Previous
From: Gene
Date:
Subject: Re: Acclerating INSERT/UPDATE using UPS
Next
From: Peter Eisentraut
Date:
Subject: Re: Missing directory when building 8.2.3-base