Re: Current state of XML capabilities in PostgreSQL?

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Current state of XML capabilities in PostgreSQL?
Date: 2009-09-16 16:53:08
Message-ID: 2f4958ff0909160953g4692a42ct3267760b7ab56d6c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Sep 16, 2009 at 5:24 PM, John R Pierce <pierce(at)hogranch(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2009-09-16 16:54:07 Re: I need a Postgres Admin $130K + 20K in NYC Any Ideas?
Previous Message John R Pierce 2009-09-16 16:24:47 Re: Current state of XML capabilities in PostgreSQL?