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 18:29:43 |
Message-ID: | 43DD0997.7050104@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
[removing -patches since no patch was attached]
Mark Woodward wrote:
>I have a fairly simple extension I want to add to contrib. It is an XML
>parser that is designed to work with a specific dialect.
>
>I have a PHP extension called xmldbx, it allows the PHP system to
>serialize its web session data to an XML stream. (or just serialize
>variables) PHP's normal serializer is a non-standard home grown format
>that it impossile to read. The xmldbx format may not be too much easier,
>but I have a format document for it. I also have a PostgreSQL extension
>that can take serialized data and use it in a query, like:
>
>select xmldbx('data.userdata.id', sessions.data);
>
>If the PHP variable has $userdata['id'] set to some varible in its session
>data, it will be returned.
>
>This allows a lot of flexability and a tight integration between
>PostgreSQL and PHP.
>
>
>
>
This sounds highly specialised, and probably more appropriate for a
pgfoundry project.
In any case, surely the whole point about XML is that you shouldn't need
to contruct custom parsers. Should we include a specialised parser for
evey XML dialect someone might want to store in the database?
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2006-01-29 18:43:14 | Re: Want to add to contrib.... xmldbx |
Previous Message | Mark Woodward | 2006-01-29 18:21:21 | Want to add to contrib.... xmldbx |
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2006-01-29 18:43:14 | Re: Want to add to contrib.... xmldbx |
Previous Message | Mark Woodward | 2006-01-29 18:21:21 | Want to add to contrib.... xmldbx |