Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3AE0A1337B6E for ; Wed, 9 Feb 2011 05:29:31 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 44816-05 for ; Wed, 9 Feb 2011 09:29:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.softperience.eu (static-ip-217-118-26-141.inaddr.intergenia.de [217.118.26.141]) by mail.postgresql.org (Postfix) with ESMTP id 9DEFD1337B69 for ; Wed, 9 Feb 2011 05:29:22 -0400 (AST) Received: from radek.localnet (87-204-194-135.dg-net.pl [87.204.194.135]) by mail.softperience.eu (Postfix) with ESMTPA id B5400C000CD; Wed, 9 Feb 2011 10:29:25 +0100 (CET) From: =?utf-8?q?Rados=C5=82aw_Smogura?= To: pgsql-jdbc@postgresql.org Subject: Re: UDT arrays Date: Wed, 9 Feb 2011 10:29:28 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.36-gentoo-r5; KDE/4.4.5; x86_64; ; ) Cc: Lukas Eder References: <68ad45f0-460b-4483-a4df-13b69777707f@s18g2000vbe.googlegroups.com> In-Reply-To: <68ad45f0-460b-4483-a4df-13b69777707f@s18g2000vbe.googlegroups.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201102091029.28960.rsmogura@softperience.eu> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/53 X-Sequence-Number: 21451 Actully I've done support for Structs, with fixation of metdata bugs for those types (JDBC spec is not clear, about metadata), but only in binary mode. I will, probably, don't give support for text protocol, because I belive binary protocol is future (but here is ?). Currently 1. I need to give full support for SQLData, Input & Output, as well implement last type (time with timezone). 2. I need do something with DISTINCTS/DOMAINS Problem is with timestamap with timezone, as on this field backend is incompatible with JDBC, so probably driver will need to extend database, or I need to do some "unsafe" operations or throw exception for some situations. In both of this I need to do / write full tests for many compilations of resultset/arrays/structs. Some functionality will temporaly go away (eg. updating result sets, arrays returning result sets for mulitdimensional array, geometric types, and all PG*Objects will be sleeped too). I want to resolve some serius bugs about resultsets and SQLXML, too, before release (this with result set may wait, if only one person found it, and not even found full problem...), but SQLXML is important as XML is popular solution. Maybe "true" async notifications based on listener pattern will be included in release. Have a nice day Lukas Eder Tuesday 08 February 2011 00:26:58 > Hello, > > I was wondering, is JDBC driver support for the combination of UDT's > and arrays planned for the near future? I couldn't find any > documentation on the JDBC drivers website. > > Is there any specific reason (apart from the fact that UDT's and/or > ARRAYs are not used often) for this lack of implementation? Clearly, > the database itself supports this combination. I can easily insert and > select data from a table holding UDT arrays > > Cheers > Lukas