Re: getColumnLabel return value - Mailing list pgsql-jdbc

From Gerlits András
Subject Re: getColumnLabel return value
Date
Msg-id 20021213150614.25350.qmail@neotek.hu
Whole thread Raw
In response to getColumnLabel return value  ("Gerlits András" <gerlits@neotek.hu>)
List pgsql-jdbc
Why include it in the JDBC then?

If that was the original idea of the people specifying JDBC standards, why
not only use getColumnName?

My impression was that ColumnLabel is a description, while ColumnName is
the (usually abbreviated, and sometimes uncomprehendable) name of the
column :).

Regards.
Andras

On Fri, 13 Dec 2002 09:52:34 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote :

> Dave Cramer <Dave@micro-automation.net> writes:
> >> The documentation says that the method:
> >> "Gets the designated column's suggested title for use in printouts and
> >> displays."
>
> I should think that a column comment would usually be too long to serve
> usefully as a heading for the column in printouts, which is clearly the
> intended use of this method ...
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
On Fri, 13 Dec 2002 09:52:34 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote :

> Dave Cramer <Dave@micro-automation.net> writes:
> >> The documentation says that the method:
> >> "Gets the designated column's suggested title for use in printouts and
> >> displays."
>
> I should think that a column comment would usually be too long to serve
> usefully as a heading for the column in printouts, which is clearly the
> intended use of this method ...
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>
>

pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: getColumnLabel return value
Next
From: Michael Adler
Date:
Subject: misleading Exception handling