Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id D8143632E80 for ; Sun, 7 Mar 2010 17:46:04 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 58346-07 for ; Sun, 7 Mar 2010 21:45:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id 3C4C3632322 for ; Sun, 7 Mar 2010 17:45:54 -0400 (AST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NoOII-00011O-JB for pgsql-jdbc@postgresql.org; Sun, 07 Mar 2010 22:45:50 +0100 Received: from ppp-93-104-164-129.dynamic.mnet-online.de ([93.104.164.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Mar 2010 22:45:50 +0100 Received: from spam_eater by ppp-93-104-164-129.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Mar 2010 22:45:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Driver not returning the type for TYPEs Date: Sun, 07 Mar 2010 22:45:49 +0100 Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ppp-93-104-164-129.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 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.732 tagged_above=-10 required=5 tests=AWL=0.867, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/20 X-Sequence-Number: 20360 Hi, I just noticed a minor glitchin the driver (8.4) When creating types using e.g.: CREATE TYPE my_tabpe AS (some_data varchar(100)); DatabaseMetaData.getTables() will return that type, but the value for the column TABLE_TYPE is null. I think if the driver returns non-table objects (which is fine, a lot of drivers are doing that), the TABLE_TYPE column of the result set should contain a proper value. Regards Thomas