Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 059959FA2FD for ; Fri, 29 Dec 2006 02:11:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 07390-10 for ; Fri, 29 Dec 2006 02:10:56 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from www01.kensystem.com (www01.kensystem.com [72.19.170.120]) by postgresql.org (Postfix) with ESMTP id 293E59FA48B for ; Fri, 29 Dec 2006 02:10:56 -0400 (AST) Received: from 192.168.0.6 by www01.kensystem.com (SMTPD); id s20061229061052.126638; Fri, 29 Dec 2006 06:10:52 Message-ID: <4594B16C.5010609@kensystem.com> Date: Thu, 28 Dec 2006 23:10:52 -0700 From: Ken Johanson User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Support for DatabaseMetadata: getCatalogName, getTableName, getColumnLabel Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/125 X-Sequence-Number: 16357 Greetings, Using the the driver supplied with PG 8.2 I am seeing the following with DatabaseMetadata: a) getCatalogName(int): always empty b) getTableName(int) always empty c) getColumnLabel(int) always equal to getColumnName(i), i.e.: `SELECT foo AS bar from tbl`, both getColumnName and getColumnLabel return 'bar'. I believe (cant recall for sure though) that getColumnLabel is behaving okay, but getColumnName should instead return 'foo' I did not check the String argument equivalent to of these. Is there a configuration option in the driver or PG that I can change to correct this, or are these just not fully implemented yet? Kind regards, Ken