X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 961079FA64B for ; Mon, 19 Jun 2006 10:57:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 45059-01 for ; Mon, 19 Jun 2006 10:57:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id 7FB5D9FA3AF for ; Mon, 19 Jun 2006 10:57:07 -0300 (ADT) Received: (qmail 28801 invoked by uid 1112); 19 Jun 2006 13:57:06 -0000 Date: Mon, 19 Jun 2006 08:57:06 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Oliver Jowett cc: "j.random.programmer" , pgsql-jdbc@postgresql.org Subject: Re: Meta Information about columns of a domain datatype ? In-Reply-To: <4494EC94.80500@opencloud.com> Message-ID: References: <20060616075455.37486.qmail@web32012.mail.mud.yahoo.com> <4494EC94.80500@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/44 X-Sequence-Number: 15324 On Sun, 18 Jun 2006, Oliver Jowett wrote: > j.random.programmer wrote: > >> * Subject: meta data information returned for >> domains >> * Date: Fri, 3 Dec 2004 12:13:13 +0900 >> >> However, there wasn't a resolution then. > > I couldn't find this in the archives. Do you have a link? > > How would you expect domain info to be returned via the metadata interfaces? > I vaguely recall a discussion of this suggesting the base type of a domain should be returned in the SOURCE_DATA_TYPE column of DatabaseMetaData.getColumns. This column was added in JDBC3 and we currently only support the JDBC2 columns. http://java.sun.com/j2se/1.5.0/docs/api/java/sql/DatabaseMetaData.html#getColumns(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String) Kris Jurka