Re: Wrong column names in ResultSetMetaData - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Wrong column names in ResultSetMetaData
Date
Msg-id Pine.BSO.4.56.0408021925430.5931@leary.csoft.net
Whole thread Raw
In response to Re: Wrong column names in ResultSetMetaData  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Wrong column names in ResultSetMetaData
List pgsql-jdbc

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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Wrong column names in ResultSetMetaData
Next
From: Oliver Jowett
Date:
Subject: Re: Wrong column names in ResultSetMetaData