Re: how to create aggregate xml document in 8.3?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to create aggregate xml document in 8.3?
Date: 2007-12-12 00:54:40
Message-ID: 9400.1197420880@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us> writes:
> Thanks very much, that helps. Now I'm wondering if it's also possible to
> then fill in another nested element level in the XML output, from the rows
> that are aggregated into the <range> count.

Something involving xmlagg in the sub-query, perhaps? No time to
experiment with it now.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron St-Pierre 2007-12-12 01:08:09 Re: top posting
Previous Message Leigh Dyer 2007-12-12 00:38:51 Multiple clusters on one box for PITR