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 0192E5280F for ; Tue, 9 Aug 2005 20:12:55 -0300 (ADT) 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 38197-04 for ; Tue, 9 Aug 2005 23:12:44 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 4436A5295C for ; Tue, 9 Aug 2005 20:12:42 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1E2dH3-0004LS-M4; Wed, 10 Aug 2005 11:12:45 +1200 Message-ID: <42F9386D.7070601@opencloud.com> Date: Wed, 10 Aug 2005 11:12:45 +1200 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Dudziak Cc: pgsql-jdbc@postgresql.org Subject: Re: Missing functionality in ResultSetMetaData ? References: <224f323405080913385a38ece0@mail.gmail.com> <224f323405080914194be16ac3@mail.gmail.com> <224f3234050809153725fb91c@mail.gmail.com> In-Reply-To: <224f3234050809153725fb91c@mail.gmail.com> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200508/57 X-Sequence-Number: 13626 Thomas Dudziak wrote: > However if this is the case, then I don't think your argument given in > http://archives.postgresql.org/pgsql-jdbc/2004-08/msg00021.php is > valid, because from what I understand of the ResultSetMetaData, the > getTableName method returns the name of the column's table, ie. IMO > the name of the table where the column is defined in. [...] We disagree :) In addition to what Kris posted elsewhere in the thread, there is the compatibility angle: why should we be gratuitously incompatible with other JDBC drivers? > So in your example this cannot be 'f' but must be 'footable'. I mean, > what would I do with 'f' anyway ? Use it distinguish that particular "footable" from another "footable" in a self-join. -O