Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 10A2B635D48 for ; Mon, 3 Aug 2009 15:20:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 58287-07 for ; Mon, 3 Aug 2009 18:19:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mail.postgresql.org (Postfix) with ESMTP id 2252D636374 for ; Mon, 3 Aug 2009 15:11:40 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MY20V-0006Si-Ik for pgsql-jdbc@postgresql.org; Mon, 03 Aug 2009 18:11:35 +0000 Received: from ppp-88-217-28-81.dynamic.mnet-online.de ([88.217.28.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Aug 2009 18:11:35 +0000 Received: from spam_eater by ppp-88-217-28-81.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Aug 2009 18:11:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Datatype of domains not reported correctly. Date: Mon, 03 Aug 2009 20:11:25 +0200 Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-88-217-28-81.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.475 tagged_above=-10 required=5 tests=AWL=1.124, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200908/5 X-Sequence-Number: 19854 Kris Jurka wrote on 03.08.2009 19:44: > DISTINCT is the JDBC equivalent term for domains. > > See Chapter 16 if the JDBC4 spec. > > DISTINCT type - a user-defined type based on a built-in type; for > example: CREATE TYPE MONEY AS NUMERIC(10,2) FINAL > > So I believe we're doing the right thing here, although our support for > DISTINCT elsewhere is probably lacking. Thanks for the detailed answer. I have to admit that I didn't check the JDBC spec completely. If the specs require this, I can live with it - although I think the spec is "wrong" here ;) Regards Thomas