X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4B5D19DCAEF; Sun, 29 Jan 2006 13:57:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 49194-05; Sun, 29 Jan 2006 13:57:26 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id D15DE9DCA1D; Sun, 29 Jan 2006 13:57:24 -0400 (AST) Received: from outland.mohawksoft.com (unknown [64.46.156.80]) by svr4.postgresql.org (Postfix) with ESMTP id 255375AF08C; Sun, 29 Jan 2006 17:57:24 +0000 (GMT) Received: from outland.mohawksoft.com (IDENT:501@outland.mohawksoft.com [127.0.0.1]) by outland.mohawksoft.com (8.13.3/8.9.3) with ESMTP id k0TILLFK017046; Sun, 29 Jan 2006 13:21:21 -0500 Received: (from mohawk@localhost) by outland.mohawksoft.com (8.13.3/8.13.3/Submit) id k0TILLqq017045; Sun, 29 Jan 2006 13:21:21 -0500 X-Authentication-Warning: outland.mohawksoft.com: mohawk set sender to pgsql@mohawksoft.com using -f Received: from 24.91.171.78 (SquirrelMail authenticated user pgsql) by mail.mohawksoft.com with HTTP; Sun, 29 Jan 2006 13:21:21 -0500 (EST) Message-ID: <16397.24.91.171.78.1138558881.squirrel@mail.mohawksoft.com> Date: Sun, 29 Jan 2006 13:21:21 -0500 (EST) Subject: Want to add to contrib.... xmldbx From: "Mark Woodward" To: pgsql-patches@postgresql.org, pgsql-hackers@postgresql.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/887 X-Sequence-Number: 78991 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. For more information: http://www.mohawksoft.org -- (The open source end of mohawk softare :-) What do you all think?