From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Mike Martin <mmartin@vieo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Wrong column names in ResultSetMetaData
Date: Mon, 2 Aug 2004 19:31:20 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0408021925430.5931@leary.csoft.net> (raw)
In-Reply-To: <410ED4E6.8020806@opencloud.com>
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>
<cembfp$1tpn$1@news.hub.org>
<Pine.BSO.4.56.0408021705100.21355@leary.csoft.net>
<410ED4E6.8020806@opencloud.com>
On Tue, 3 Aug 2004, Oliver Jowett wrote:
> RSMD.getColumnLabel() returns the column alias, or maybe something
> like the column's comment (can you COMMENT ON columns?) later.
This is my major beef with the argument, what do you do for
getColumnLabel? Returning the column's comment (which you can do) isn't
the right thing either. I've got comments running to paragraph length
describing some of the more obscure columns in my databases. No other
driver in Mike's list showed an implementation of this different from
getColumnName, so what's the point? The spec authors must have had some
existing implementation to inspire this feature. The argument that
getColumnLabel and getColumnName should do the exact same thing just seems
wrong to me.
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, oliver@opencloud.com, mmartin@vieo.com
Subject: Re: Wrong column names in ResultSetMetaData
In-Reply-To: <Pine.BSO.4.56.0408021925430.5931@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> <cembfp$1tpn$1@news.hub.org> <Pine.BSO.4.56.0408021705100.21355@leary.csoft.net> <410ED4E6.8020806@opencloud.com> <Pine.BSO.4.56.0408021925430.5931@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