pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: stefanlack@gmx.de
Cc: pgsql-jdbc@postgresql.org
Subject: Re: ResultSetMetaData precise typ information
Date: Fri, 22 Jul 2005 10:34:23 +1200
Message-ID: <42E022EF.2010206@opencloud.com> (raw)
In-Reply-To: <24A56AB2-157F-42B6-86E2-2938646BFE3F@fastcrypt.com>
References: <28723.1121946354@www56.gmx.net>
	<24A56AB2-157F-42B6-86E2-2938646BFE3F@fastcrypt.com>

Dave Cramer wrote:

> You're correct, does anyone know why getTableName is returning "",
> 
> when getBaseTableName is implemented ?

See lengthy previous discussion in the archives. getTableName() needs to
return the table *alias* or the empty string if unknown. The backend
only gives us the actual table name (returned by getBaseTableName()); we
don't know what the alias is and return an empty string.

-O



view thread (3+ messages)

Message-ID: <42E022EF.2010206@opencloud.com>
Permalink:  ../42E022EF.2010206@opencloud.com/
Also on:    postgresql.org/message-id/42E022EF.2010206@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, pg@fastcrypt.com, stefanlack@gmx.de
  Subject: Re: ResultSetMetaData precise typ information
  In-Reply-To: <42E022EF.2010206@opencloud.com>
  References: <28723.1121946354@www56.gmx.net> <24A56AB2-157F-42B6-86E2-2938646BFE3F@fastcrypt.com> <42E022EF.2010206@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