Re: Current state of XML capabilities in PostgreSQL? - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: Current state of XML capabilities in PostgreSQL?
Date
Msg-id 2f4958ff0909160953g4692a42ct3267760b7ab56d6c@mail.gmail.com
Whole thread Raw
In response to Re: Current state of XML capabilities in PostgreSQL?  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On Wed, Sep 16, 2009 at 5:24 PM, John R Pierce <pierce@hogranch.com> wrote:
> why would you store data thats wrapped in two copies of its fieldname along
> with other punctuation?    wouldn't it make more sense to decompose your XML
> source into proper tables so proper indexes and relational sql queries can
> be made?     otherwise, every query turns into a massive sequential scan and
> parsing operation.

you can always have index on xpath() ...
and than use same expression in WHERE, and postgresql will use index.


--
GJ

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Current state of XML capabilities in PostgreSQL?
Next
From: Martin Gainty
Date:
Subject: Re: I need a Postgres Admin $130K + 20K in NYC Any Ideas?