From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | "Nikolay Samokhvalov" <nikolay(at)samokhvalov(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org, "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
Subject: | Re: proposal casting from XML[] to int[], numeric[], text[] |
Date: | 2007-10-08 10:53:38 |
Message-ID: | 200710081253.39227.peter_e@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2007-10-08 11:51:21 | Re: Including Snapshot Info with Indexes |
Previous Message | Peter Eisentraut | 2007-10-08 10:41:41 | Re: Encoding and i18n |