Re: Request for qualified column names

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Request for qualified column names
Дата
Msg-id 200301310603.h0V63tf14195@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Request for qualified column names  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Dave Cramer writes:
> 
> > The method in question is
> > ResultSetMetaDate.getTableName(int column)
> > and while were at it
> > ResultSetMetaData.getSchemaName(int column)
> > and FWIW, the return value if not applicable is ""
> 
> Not applicable sounds fine to me.  It's like taking a file descriptor and
> asking what file it belongs to.  That information simply doesn't exist,
> and if you design an application around it you lose.

Yes, but in cases we can supply the info with the proper GUC variable
enabled, why not do it?   I realize most people don't want it, but if
jdbc does, and it is something folks would use, maybe we should enable
it for the easy cases.

However, the number of cases where we would not be able to easily report
it may make the feature useless.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: [mail] Re: Windows Build System
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: postgres installation - best configuration?