Concatenate

From: Frank jansen <jansen(at)fumarium(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Concatenate
Date: 2010-03-24 10:22:48
Message-ID: 4BA9E7F8.4010507@fumarium.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

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)
....

Kind regards,

Frank Jansen

Responses

Browse pgsql-general by date

  From Date Subject
Next Message yue peng 2010-03-24 10:57:34 Out of Memory during Insert
Previous Message Tuo Pe 2010-03-24 09:10:28 Re: PL/pgSQL & OVERLAPS operator (SOLVED!)