pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Wrong column names in ResultSetMetaData
Date: Thu, 29 Jul 2004 21:27:13 +1200
Message-ID: <4108C2F1.7090805@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0407282246450.155@leary.csoft.net>
References: <ce9dna$pne$1@news.hub.org>
	<ce9jk0$15mb$1@news.hub.org>
	<41086EF8.7010101@opencloud.com>
	<Pine.BSO.4.56.0407282246450.155@leary.csoft.net>

Kris Jurka wrote:

> This was done intentionally.  Back in January I applied this patch:
> 
> date: 2004/01/13 03:07:09;  author: jurka;  state: Exp;  lines: +95 -31
> This patch is the culmination of Jan-Andre le Roux's work on enhancing
> the ResultSetMetaData methods with new information available in the V3
> protocol.  He wandered off of the verge of completing it and I've just
> done some minor reworking and editing.
> 
> This implements getSchemaName, getTableName, getColumnName,
> getColumnLabel, and isNullable.

I notice that the implementation of updateable resultsets use 
Field.getColumnLabel() when generating the UPDATE/SELECT/etc SQL. 
Presumably this should be using Field.getColumnName() given the current 
semantics?

-O



view thread (27+ messages)  latest in thread

Message-ID: <4108C2F1.7090805@opencloud.com>
Permalink:  ../4108C2F1.7090805@opencloud.com/
Also on:    postgresql.org/message-id/4108C2F1.7090805@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, books@ejurka.com
  Subject: Re: Wrong column names in ResultSetMetaData
  In-Reply-To: <4108C2F1.7090805@opencloud.com>
  References: <ce9dna$pne$1@news.hub.org> <ce9jk0$15mb$1@news.hub.org> <41086EF8.7010101@opencloud.com> <Pine.BSO.4.56.0407282246450.155@leary.csoft.net> <4108C2F1.7090805@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