Re: getColumnLabel return value

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Gerlits András <gerlits(at)neotek(dot)hu>
Cc: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: getColumnLabel return value
Date: 2002-12-13 13:24:26
Message-ID: 1039785866.14876.76.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Andras,

I guess it boils down to what you thing the comment is. I think the
common understanding is the the comment is something like

"this column holds the name of the user"

as opposed to the display name.

I gather that you disagree; does anyone else have any comments on this?

Dave
On Fri, 2002-12-13 at 07:09, Gerlits András wrote:
> I was surprised to see that the getColumnLabel method in the
> ResultSetMetaData object returns the name of the column instead of the
> comment (when available).
>
> The documentation says that the method:
> "Gets the designated column's suggested title for use in printouts and
> displays."
>
> Any thoughts on that?
>
> I'd do it if you guys agree.
>
> Regards
> Andras Gerlits
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2002-12-13 14:52:34 Re: getColumnLabel return value
Previous Message Gerlits Andrs 2002-12-13 12:09:39 getColumnLabel return value