Re: [GENERAL] user defined XML aggregate not working as (i think) it should

2012-10-03 Thread Rhys A.D. Stewart
Thanks Tom, That was indeed the issue. Regards, Rhys On Wed, Oct 3, 2012 at 8:58 PM, Tom Lane wrote: > "Rhys A.D. Stewart" writes: >> I have an xml aggregate function that always returns 'ERROR: invalid >> XML content'. However an identical function that uses text produces >> valid xml with

Re: [GENERAL] user defined XML aggregate not working as (i think) it should

2012-10-03 Thread Tom Lane
"Rhys A.D. Stewart" writes: > I have an xml aggregate function that always returns 'ERROR: invalid > XML content'. However an identical function that uses text produces > valid xml with the same inputs. I believe the reason this doesn't work is that the aggregate's initial value is faulty: it's