Re: Native XML - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Native XML
Date
Msg-id 4D781538.5020500@agliodbs.com
Whole thread Raw
In response to Re: Native XML  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Native XML
List pgsql-hackers
On 3/9/11 10:11 AM, Bruce Momjian wrote:
> If you are storing xml in an xml column just to get it
>> validated, and doing no processing in the DB, then you'd probably
>> prefer our current representation.  If you want to build functional
>> indexes on xpath expressions, and then run queries that extract data
>> using other xpath expressions, you would probably prefer the other
>> representation.

Then I think the answer is that we need both data types.  One for
text-XML and one for binary-XML.

For my part, I don't use PostgreSQL's native XML tools for storage of
XML data because the xpath functions are too slow and limited to make PG
useful as an XML database.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: Nikhil Sontakke
Date:
Subject: Re: Fwd: index corruption in PG 8.3.13
Next
From: Gurjeet Singh
Date:
Subject: Re: Fwd: psql include file using relative path