Re: XML export function signatures

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: XML export function signatures
Date: 2007-02-12 22:57:49
Message-ID: 200702122357.49759.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2007-02-12 23:00:43 Re: Missing directory when building 8.2.3-base
Previous Message Gene 2007-02-12 22:53:06 Re: Acclerating INSERT/UPDATE using UPS