Re: proposal casting from XML[] to int[], numeric[], text[] - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: proposal casting from XML[] to int[], numeric[], text[]
Date
Msg-id 200710081253.39227.peter_e@gmx.net
Whole thread Raw
In response to Re: proposal casting from XML[] to int[], numeric[], text[]  ("Nikolay Samokhvalov" <nikolay@samokhvalov.com>)
Responses Re: proposal casting from XML[] to int[], numeric[], text[]
List pgsql-hackers
Am Freitag, 28. September 2007 schrieb Nikolay Samokhvalov:
> what should be returned for XML like "<em><strong>PostgreSQL</strong>
> is a powerful, open source relational database system</em>" if user
> requests for text under "em" node? In XML world, the correct answer is
> "PostgreSQL  is a powerful, open source relational database system" --
> concatenation of all strings from the node itself and all its
> descendants, in the correct order. Will be this expected for RDBMS
> users?).

Well, if that is the defined behavior for XPath, then that's what we should 
do.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: Including Snapshot Info with Indexes
Next
From: Hannu Krosing
Date:
Subject: Re: Including Snapshot Info with Indexes