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 789F3D1B470 for ; Thu, 5 Aug 2004 01:36:21 -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 04820-06 for ; Thu, 5 Aug 2004 04:35:30 +0000 (GMT) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id C3DC7D1B4A2 for ; Thu, 5 Aug 2004 01:33:45 -0300 (ADT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by www.postgresql.com (Postfix) with SMTP id D4017CF4B51 for ; Thu, 5 Aug 2004 01:30:35 -0300 (ADT) Received: (qmail 19607 invoked by uid 1112); 5 Aug 2004 03:56:09 -0000 Date: Wed, 4 Aug 2004 22:56:09 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Mike Martin Cc: pgsql-jdbc@postgresql.org Subject: Re: Wrong column names in ResultSetMetaData In-Reply-To: <002101c47a76$90a77640$fe0f010a@MMARTIN1> Message-ID: References: <41086EF8.7010101@opencloud.com> <410ED4E6.8020806@opencloud.com> <410EDF4D.6060808@opencloud.com> <002101c47a76$90a77640$fe0f010a@MMARTIN1> 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=1.1 tagged_above=0.0 required=5.0 tests=NO_DNS_FOR_FROM X-Spam-Level: * X-Archive-Number: 200408/32 X-Sequence-Number: 10754 Fixed, in this commit message. ---------------------------- revision 1.1 date: 2004/08/05 03:50:19; author: jurka; state: Exp; Revert ResultSetMetaData methods getColumnName, getTableName and getSchemaName to previous implementation that returned the column's alias if available and "" for the table and schema. Move the new functionality to access the underlying sources of the query to a new PGResultSetMetaData interface which offers getBaseXXXName. Per complaints of Mike Martin.