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 129FF5291F for ; Tue, 9 Aug 2005 18:19:27 -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 05273-05 for ; Tue, 9 Aug 2005 21:19:17 +0000 (GMT) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by svr1.postgresql.org (Postfix) with ESMTP id D8DC652806 for ; Tue, 9 Aug 2005 18:19:15 -0300 (ADT) Received: by nproxy.gmail.com with SMTP id c2so303460nfe for ; Tue, 09 Aug 2005 14:19:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qKrs28TNGHkZ6Cd6HogxRIWmaF15BUNaIVycnAuhoaGIQujU9tlDdNq5GdgwhiyNlTuNC2fnn1zhyD9ZD4Ixeh9XeAWntXA1GBilbU+hd+pNqUK+HhYcS6eDR9JiMKWDnkVfycfpt0UJ8AEIRAF75xa6pah5T1dQX3InbzNID+8= Received: by 10.48.250.9 with SMTP id x9mr1443nfh; Tue, 09 Aug 2005 14:19:16 -0700 (PDT) Received: by 10.48.249.2 with HTTP; Tue, 9 Aug 2005 14:19:16 -0700 (PDT) Message-ID: <224f323405080914194be16ac3@mail.gmail.com> Date: Tue, 9 Aug 2005 23:19:16 +0200 From: Thomas Dudziak To: pgsql-jdbc@postgresql.org Subject: Re: Missing functionality in ResultSetMetaData ? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <224f323405080913385a38ece0@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200508/48 X-Sequence-Number: 13617 On 8/9/05, Kris Jurka wrote: > > I'm trying to extract the source tables from a result set for a > > arbitrary select query. For this I use the > > > > ResultSetMetaData.getTableName(int columnIndex) >=20 > http://archives.postgresql.org/pgsql-jdbc/2005-01/msg00220.php >=20 > Please see this message and the discussion referenced at the bottom of it > for why we do not support getTableName, but instead provide a pg specific > getBaseTableName method. Ok, thanks, I see. However, from what I read in the thread the question in the mail that you referenced, as to why PGResultSetMetadata does not extend ResultSetMetadata, and as a result the getTableName method is mapped onto getBaseTableName, is still valid IMO. Especially if the information seems to be readily available. Would you consider this change for an upcoming release ? regards, Tom