From: Ken Johanson <pg-user@kensystem.com>
To: pgsql-jdbc@postgresql.org
Subject: Support for DatabaseMetadata: getCatalogName, getTableName, getColumnLabel
Date: Thu, 28 Dec 2006 23:10:52 -0700
Message-ID: <4594B16C.5010609@kensystem.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: pg-user@kensystem.com
Subject: Re: Support for DatabaseMetadata: getCatalogName, getTableName, getColumnLabel
In-Reply-To: <4594B16C.5010609@kensystem.com>
References: <4594B16C.5010609@kensystem.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox