X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F22FD3A5445 for ; Mon, 6 Dec 2004 09:18:17 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 52662-05 for ; Mon, 6 Dec 2004 09:18:02 +0000 (GMT) Received: from www.postgresql.com (unknown [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id 41A303A4FCD for ; Mon, 6 Dec 2004 09:18:04 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by www.postgresql.com (Postfix) with SMTP id 45FE67386DC for ; Mon, 6 Dec 2004 09:18:01 +0000 (GMT) Received: (qmail 14628 invoked by uid 1112); 6 Dec 2004 09:19:08 -0000 Date: Mon, 6 Dec 2004 04:19:08 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Iain Cc: pgsql-jdbc@postgresql.org Subject: Re: meta data information returned for domains In-Reply-To: <000a01c4d90f$613a8b20$7201a8c0@mst1x5r347kymb> Message-ID: References: <00ac01c4d8e6$099390c0$7201a8c0@mst1x5r347kymb> <000a01c4d90f$613a8b20$7201a8c0@mst1x5r347kymb> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.079 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/39 X-Sequence-Number: 11705 On Fri, 3 Dec 2004, Iain wrote: > So far I've tried using the "SOURCE_DATA_TYPE" column of the result set > returned by getColumns but this column doesn't exist. This is an addition in the JDBC 3 spec that we haven't gotten around to adding as right now we only return JDBC 2 info. This obviously makes my previous suggestion obsolete and we should just implement this. This looks like a pretty easy thing to do except for the fact that we haven't yet dealt with how to return different information for JDBC 2/3 drivers without a lot of code duplication. > Next I tried calling getUDTs but apparently this method isn't implemented > yet. > > I noticed some discussion about implementing the getUDTs method in the lists > and references to it in the change log so maybe this has been done already > and I just need a more recent version. I'm using pg74.215.jdbc3.jar (on > 7.4.6). > This has indeed been implemented in the 8.0 series of drivers. Kris Jurka