X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6C3AFD1B183 for ; Thu, 29 Jul 2004 00:53:37 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05648-05 for ; Thu, 29 Jul 2004 03:53:29 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 2AF19D1B57D for ; Thu, 29 Jul 2004 00:53:26 -0300 (ADT) Received: (qmail 13110 invoked by uid 1112); 29 Jul 2004 03:51:13 -0000 Date: Wed, 28 Jul 2004 22:51:13 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Oliver Jowett Cc: Mike Martin , pgsql-jdbc@postgresql.org Subject: Re: Wrong column names in ResultSetMetaData In-Reply-To: <41086EF8.7010101@opencloud.com> Message-ID: References: <41086EF8.7010101@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/319 X-Sequence-Number: 10703 On Thu, 29 Jul 2004, Oliver Jowett wrote: > I don't remember intentionally changing this behaviour in the V3 > overhaul so it may actually predate those changes. However, Field was > rearranged when doing the V3 changes so it's entirely possible I > accidentally broke this behaviour. > 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. Kris Jurka