Re: XPath PostgreSQL 8.4

From: Tim Landscheidt <tim(at)tim-landscheidt(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: XPath PostgreSQL 8.4
Date: 2009-10-17 16:02:00
Message-ID: m37huunh53.fsf@passepartout.tim-landscheidt.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I wrote:

> [...]
> You have to put brackets around the function call:

> | select (xpath('/trade/trade-info/id/text()', cast(xml as xml)))[1] as id from risk.trade_table;

... or, after a look in the dictionary, whatever you call
"(" and ")" :-).

Tim

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-10-17 16:46:12 Re: Problem with using snprintf in C-function
Previous Message Tim Landscheidt 2009-10-17 15:57:06 Re: XPath PostgreSQL 8.4