Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ3RB-0004Js-3V for pgsql-jdbc@postgresql.org; Tue, 02 Oct 2012 14:27:05 +0000 Received: from mail-pa0-f46.google.com ([209.85.220.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ3R9-0001w5-Qv for pgsql-jdbc@postgresql.org; Tue, 02 Oct 2012 14:27:04 +0000 Received: by padhz1 with SMTP id hz1so5283000pad.19 for ; Tue, 02 Oct 2012 07:27:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=7vwrKQOLj+9RjdUlP+Pa8KMJh0WCtMHBGDxcjx8q9Hc=; b=BSTyBhr/VYtGHj2H/UXvAU4bv3DhrWL6kYFTIphmETkZC7LVV4cAAHki4+ZOVdG8Tu 3lhvapYzdUnrOjAYvJd7hbVBZL/Ioch+aiXCOrYE9JVBU2IpOo0yKEHXsybWlGhnE1rd S/J2+pfoO2wQGn+uAeY5lcfN4XPwKdTUfwRtvQL14nS62/4hmDfLXnm7eKfCW40xUAbb iREjFdZs0pimlmhXtsI+cY+Vnq6qTljwOoeXrURpl+xwBTT46KOzwCmlBIXarIGqfdFb YYoANONchnnzKRrbgR/z/CpH1jFgqg3Vpm3G3NE7T1Mjcd+2SAmkZIzpJblc3Drk/qrL icVw== Received: by 10.68.237.232 with SMTP id vf8mr4746962pbc.65.1349188022901; Tue, 02 Oct 2012 07:27:02 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id it5sm985302pbc.10.2012.10.02.07.27.00 (version=SSLv3 cipher=OTHER); Tue, 02 Oct 2012 07:27:01 -0700 (PDT) Message-ID: <506AF9B1.4060209@ringerc.id.au> Date: Tue, 02 Oct 2012 22:26:57 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: the6campbells CC: pgsql-jdbc@postgresql.org Subject: Re: ResultSet metadata for a prepared statement missing the applicable table, schema etc properties References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQndOR+F+u74nw5rl4M/rLKT0v+ayeOwsDOsFOC3wYHHOTr2FOjxfuNVxReWYyDzaDmbN16z X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/6 X-Sequence-Number: 23330 On 09/24/2012 11:30 PM, the6campbells wrote: > If you create a PreparedStatement such as select c1 from t1 and > subsequently request the ResultSetMetadata for that statement you will > observe that the driver is not providing any values for getTableName, > getSchemaName etc. > > Is this a known bug? Any chance of fleshing this one out with a test case / sources? Again I can write one, but the best thing to do is submit some new (failing) unit tests for PgJDBC that demonstrate the problem, or at least a runnable standalone test case. Everyone working on the JDBC driver is a badly swamped volunteer (including myself, not that I've done much on the driver yet) so any time saved on testcase writing etc is time that can be spent on compliance/bugs. -- Craig Ringer