Re: getColumnLabel return value

Поиск
Список
Период
Сортировка
От Gerlits András
Тема Re: getColumnLabel return value
Дата
Msg-id 20021213150614.25350.qmail@neotek.hu
обсуждение исходный текст
Ответ на getColumnLabel return value  ("Gerlits András" <gerlits@neotek.hu>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: getColumnLabel return value
Следующее
От: Michael Adler
Дата:
Сообщение: misleading Exception handling