From: Kris Jurka <books@ejurka.com>
To: Mike Martin <mmartin@vieo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Wrong column names in ResultSetMetaData
Date: Mon, 2 Aug 2004 13:20:24 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0408021308010.29090@leary.csoft.net> (raw)
In-Reply-To: <celqa5$i2c$1@news.hub.org>
References: <ce9dna$pne$1@news.hub.org>
<ce9jk0$15mb$1@news.hub.org>
<41086EF8.7010101@opencloud.com>
<celqa5$i2c$1@news.hub.org>
On Mon, 2 Aug 2004, Mike Martin wrote:
>
> [I want getColumnName to return the alias name used in a query.]
>
All the documentation you've pointed to is circumstancial at best. The
phrase "column name" is not a well defined term and seems to be used
differently in different places.
A little time with Google shows people desiring the current driver
behavior which shows there is some need for this. While it doesn't
show your side of the argument because not many drivers have implemented
it this way, you haven't given any other well defined behavior for
implementing getColumnLabel.
The bottom line is that I am comfortable with the driver's current
behavior. Perhaps not as comfortable as I originally was when the
frontend/backend protocol was adjusted specifically for this purpose, or
when the patch utilizing this new data was committed, but I believe it's a
logical and defensible position. You will need to find clear
documentation that this is incorrect or rally some other users to your
position.
Kris Jurka
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: books@ejurka.com, mmartin@vieo.com
Subject: Re: Wrong column names in ResultSetMetaData
In-Reply-To: <Pine.BSO.4.56.0408021308010.29090@leary.csoft.net>
References: <ce9dna$pne$1@news.hub.org> <ce9jk0$15mb$1@news.hub.org> <41086EF8.7010101@opencloud.com> <celqa5$i2c$1@news.hub.org> <Pine.BSO.4.56.0408021308010.29090@leary.csoft.net>
* 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