Re: Want to add to contrib.... xmldbx - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Want to add to contrib.... xmldbx
Date
Msg-id 43DD1527.80102@dunslane.net
Whole thread Raw
In response to Re: Want to add to contrib.... xmldbx  ("Mark Woodward" <pgsql@mohawksoft.com>)
Responses Re: Want to add to contrib.... xmldbx  ("Mark Woodward" <pgsql@mohawksoft.com>)
List pgsql-hackers

Mark Woodward wrote:

>XML is not really much more than a language, it says virtually nothing
>about content. Content requires custom parsers.
>  
>

Really? Strange I've been dealing with it all this time without having 
to contruct a parser. What you do need is to provide event handlers to a 
stream parser such as SAX, or a use an API such as DOM to insert/extract 
data to/from the XML.

>While I understand the notion that we don't want to have a custom parser
>for every XML data spec, I did commit the xmldbx extension into the PHP
>extensions.
>
>MySQL has great street cred because it is very well integrated with PHP.
>This extension may appeal to PHP users and make it more enticing to
>PostgreSQL instead.
>
>  
>

Postgres generally seems to favor extensibility over integration, and I 
generally agree with that approach.

Before we even consider it I would want to see how much traction your 
PHP extension gets.

Also, what are its dependencies? If it's dependent on PHP headers to 
build or libraries to run that would be unfortunate - we might need to 
invent some sort of configure flag to include/exclude some contrib 
modules in that case.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Want to add to contrib.... xmldbx
Next
From: Tony Caduto
Date:
Subject: Re: Question about postgresql-8.1.2-1-binaries-no-installer.zip(win32)