Re: proposal casting from XML[] to int[], numeric[], text[]

From: Peter Eisentraut
To: "Nikolay Samokhvalov"
Cc: pgsql-hackers(at)postgresql(dot)org, "Pavel Stehule"
Subject: Re: proposal casting from XML[] to int[], numeric[], text[]
Date: 2007-10-08 10:53:38
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am Freitag, 28. September 2007 schrieb Nikolay Samokhvalov:
> what should be returned for XML like "PostgreSQL
> is a powerful, open source relational database system
" 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/

In response to

Responses

Browse pgsql-hackers by date

  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