Re: Request for qualified column names - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Request for qualified column names
Date
Msg-id 200301310603.h0V63tf14195@candle.pha.pa.us
Whole thread Raw
In response to Re: Request for qualified column names  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Jeff Davis
Date:
Subject: Re: [mail] Re: Windows Build System
Next
From: Bruce Momjian
Date:
Subject: Re: postgres installation - best configuration?