Skip site navigation (1) Skip section navigation (2)

Re: Missing functionality in ResultSetMetaData ?

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Thomas Dudziak <tomdzk(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Missing functionality in ResultSetMetaData ?
Date: 2005-08-09 23:12:45
Message-ID: 42F9386D.7070601@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Thomas Dudziak wrote:

> However if this is the case, then I don't think your argument given in
> http://archives.postgresql.org/pgsql-jdbc/2004-08/msg00021.php is
> valid, because from what I understand of the ResultSetMetaData, the
> getTableName method returns the name of the column's table, ie. IMO
> the name of the table where the column is defined in. [...]

We disagree :)

In addition to what Kris posted elsewhere in the thread, there is the
compatibility angle: why should we be gratuitously incompatible with
other JDBC drivers?

> So in your example this cannot be 'f' but must be 'footable'. I mean,
> what would I do with 'f' anyway ?

Use it distinguish that particular "footable" from another "footable" in
a self-join.

-O

In response to

pgsql-jdbc by date

Next:From: Thomas DudziakDate: 2005-08-09 23:16:06
Subject: Re: Missing functionality in ResultSetMetaData ?
Previous:From: Kris JurkaDate: 2005-08-09 23:01:22
Subject: Re: Missing functionality in ResultSetMetaData ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group