Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 7E3A49FB5B4 for ; Wed, 24 Jan 2007 10:36:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 83130-02 for ; Wed, 24 Jan 2007 10:36:16 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 66A0B9FB5A5 for ; Wed, 24 Jan 2007 10:36:21 -0400 (AST) Received: (qmail invoked by alias); 24 Jan 2007 14:36:19 -0000 Received: from ip-90-186-233-61.web.vodafone.de (EHLO colt.pezone.net) [90.186.233.61] by mail.gmx.net (mp007) with SMTP; 24 Jan 2007 15:36:19 +0100 X-Authenticated: #495269 From: Peter Eisentraut To: pgsql-jdbc@postgresql.org Subject: XML type in PostgreSQL 8.3 Date: Wed, 24 Jan 2007 15:37:01 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701241537.01933.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/157 X-Sequence-Number: 16522 PostgreSQL 8.3 will come with a native xml type and support functions. It would be nice if the JDBC driver could also make the appropriate additions for handling this type. Java 6 adds the java.sql.SQLXML interface to encapsulate values of that type, along with ResultSet.getSQLXML and so on. Documentation is here: http://java.sun.com/javase/6/docs/api/java/sql/SQLXML.html The xml type in PostgreSQL CVS head should be fully functional to the extent that one would need for developing this support. Initial documentation is here: http://developer.postgresql.org/pgdocs/postgres/datatype-xml.html Maybe someone wants to tackle this, or at least make a note of it for the future. Let me know how I can help. -- Peter Eisentraut http://developer.postgresql.org/~petere/