Re: Want to add to contrib.... xmldbx

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Mark Woodward <pgsql(at)mohawksoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Want to add to contrib.... xmldbx
Date: 2006-01-29 19:19:03
Message-ID: 43DD1527.80102@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tony Caduto 2006-01-29 19:24:38 Re: Question about postgresql-8.1.2-1-binaries-no-installer.zip(win32)
Previous Message Tom Lane 2006-01-29 19:07:07 Re: Want to add to contrib.... xmldbx

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2006-01-29 19:32:36 drop user/group/role if exists
Previous Message Tom Lane 2006-01-29 19:07:07 Re: Want to add to contrib.... xmldbx