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 8BE0D529F4 for ; Tue, 9 Aug 2005 17:38:15 -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 13234-07 for ; Tue, 9 Aug 2005 20:38:13 +0000 (GMT) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.198]) by svr1.postgresql.org (Postfix) with ESMTP id 741B85291F for ; Tue, 9 Aug 2005 17:38:12 -0300 (ADT) Received: by nproxy.gmail.com with SMTP id c2so302116nfe for ; Tue, 09 Aug 2005 13:38:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dO4gypn5RgPfyJl4LD9TZnnznkxpFJWisyzcNjN7q1vyAep/dnB/cTnqwE9sDZ9hHyNiHNappFMkqd8OmUeb8JAbMXCJVbikM3pBO71RrQVUM5jMNL9+5T85yx99cMxMKJDW48GlXk2VmJplYVIRfVIOw4KX/aHSpMqvK5YIL4s= Received: by 10.48.250.9 with SMTP id x9mr495nfh; Tue, 09 Aug 2005 13:38:12 -0700 (PDT) Received: by 10.48.249.2 with HTTP; Tue, 9 Aug 2005 13:38:12 -0700 (PDT) Message-ID: <224f323405080913385a38ece0@mail.gmail.com> Date: Tue, 9 Aug 2005 22:38:12 +0200 From: Thomas Dudziak To: pgsql-jdbc@postgresql.org Subject: Missing functionality in ResultSetMetaData ? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200508/45 X-Sequence-Number: 13614 Hi, 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) method. However with the postgresql-8.0-311.jdbc3.jar driver against a PostgreSQL 8.0.1, I never get any table names, regardless of whether the query is a straight SELECT * FROM simpletable or a complicated query using multiple joins. Are there plans to incorporate this functionality, or perhaps a driver version that already supports this ? regards, Tom