Re: Concatenate - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Concatenate
Date
Msg-id 28458CC8A2865245BF47BABF785E03E31CBAA3@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Concatenate  (Frank jansen <jansen@fumarium.de>)
List pgsql-general
Frank jansen wrote:
> can you help me with this tricky concat i have?
> I have a function with an execute statement, one line of it doing an md5
> hash of some concatenated xml paths with values. I cannot get this one
> work, postgres is always complaing about some things, like: "functions
> and operators can take at most one set argument"
>
> EXECUTE'
> ...
> md5_hash=md5(unnest(xpath(''/foo/bar'',xml_content::xml))::text) ||
> (unnest(xpath(''/foo/bar2'',xml_content::xml))::text)
> ....

That's too little, can you show more of the statement?

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Out of Memory during Insert
Next
From: Merlin Moncure
Date:
Subject: Re: Concatenate