pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Thomas Dudziak <tomdzk@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Missing functionality in ResultSetMetaData ?
Date: Wed, 10 Aug 2005 11:12:45 +1200
Message-ID: <42F9386D.7070601@opencloud.com> (raw)
In-Reply-To: <224f3234050809153725fb91c@mail.gmail.com>
References: <224f323405080913385a38ece0@mail.gmail.com>
	<Pine.BSO.4.56.0508091611090.19160@leary.csoft.net>
	<224f323405080914194be16ac3@mail.gmail.com>
	<Pine.BSO.4.56.0508091659460.32521@leary.csoft.net>
	<224f3234050809153725fb91c@mail.gmail.com>

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



view thread (16+ messages)  latest in thread

Message-ID: <42F9386D.7070601@opencloud.com>
Permalink:  ../42F9386D.7070601@opencloud.com/
Also on:    postgresql.org/message-id/42F9386D.7070601@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, tomdzk@gmail.com
  Subject: Re: Missing functionality in ResultSetMetaData ?
  In-Reply-To: <42F9386D.7070601@opencloud.com>
  References: <224f323405080913385a38ece0@mail.gmail.com> <Pine.BSO.4.56.0508091611090.19160@leary.csoft.net> <224f323405080914194be16ac3@mail.gmail.com> <Pine.BSO.4.56.0508091659460.32521@leary.csoft.net> <224f3234050809153725fb91c@mail.gmail.com> <42F9386D.7070601@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox