Skip site navigation (1) Skip section navigation (2)

Re: XML in PostgreSQL

From: Joel Rodrigues <borgempath(at)Phreaker(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: XML in PostgreSQL
Date: 2003-02-27 20:36:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
On Thursday, February 27, 2003, at 12:11 , Dennis Gearon wrote:

> Are you trying to get some schema in Postgres database design to match
> some XML schema, or just store XML in Postgres?

Well, to store entire XML documents. So-called 
'document-centric' XML. Things like articles, interviews, press 
releases, photo essays, etc. And then be able to do X-Path (or 
X-Path-like) queries on them.

I'm an absolute beginner on this issue. I was looking for a 
solution to the implementation of a document publishing system 
using Python & PostgreSQL, and this appears to be the right 

Some of my reading for this :

Reading XML and Databases by Ronald Bourret : Storing Documents in BLOBs

Persistence: SGML and XML in Databases

XML data management systems By Paul Sholtz

> On Thursday, February 27, 2003, at 07:19 , Peter Eisentraut wrote:
> The main reason nothing is happening is that no one can really come up
> with the grand master design plan for this.  There's an SQL 
> standard under
> development which addresses various ways to combine SQL and XML.  Once
> that is finished we have something to work with.  Incidentally, that
> standard depends on XQuery getting done first, so don't hold 
> your breath.

The seemingly ceaseless stream of 'Working Draft' and 'Candidate 
Recommendation' announcements from the W3C leaves me on the 
verge of a hissy fit. Not to mentioned very confused.

Leaving aside what might come to be in the future, the reality 
is that ways & means of dealing with XML right now in PostgreSQL 
*are* needed and Gray's contrib/xml seems like a good start.

I imagine that a workaround is possible in PostgreSQL using the 
idea mentioned in the articles cited above, of storing the XML 
document in it's entirety in one table and using another table 
as an 'index table'.


In response to

pgsql-general by date

Next:From: marco germoniDate: 2003-02-27 20:51:51
Subject: unsubscribe
Previous:From: Cornelia BoenigkDate: 2003-02-27 20:25:21
Subject: PostgreSQL vs. Cache

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group