Re: getColumnLabel return value

From: "Gerlits Andrs" <gerlits(at)neotek(dot)hu>
To: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: getColumnLabel return value
Date: 2002-12-13 15:06:14
Message-ID: 20021213150614.25350.qmail@neotek.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us> wrote :

> Dave Cramer <Dave(at)micro-automation(dot)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(at)postgresql(dot)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(at)sss(dot)pgh(dot)pa(dot)us> wrote :

> Dave Cramer <Dave(at)micro-automation(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>
>

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michael Adler 2002-12-13 19:03:03 misleading Exception handling
Previous Message Tom Lane 2002-12-13 14:52:34 Re: getColumnLabel return value