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 26519D1B229 for ; Mon, 2 Aug 2004 15:28:40 -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 51309-06 for ; Mon, 2 Aug 2004 18:28:36 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 51943D1B1DF for ; Mon, 2 Aug 2004 15:28:18 -0300 (ADT) Received: (qmail 12296 invoked by uid 1112); 2 Aug 2004 18:20:24 -0000 Date: Mon, 2 Aug 2004 13:20:24 -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: 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: 200408/10 X-Sequence-Number: 10732 On Mon, 2 Aug 2004, Mike Martin wrote: > > [I want getColumnName to return the alias name used in a query.] > All the documentation you've pointed to is circumstancial at best. The phrase "column name" is not a well defined term and seems to be used differently in different places. A little time with Google shows people desiring the current driver behavior which shows there is some need for this. While it doesn't show your side of the argument because not many drivers have implemented it this way, you haven't given any other well defined behavior for implementing getColumnLabel. The bottom line is that I am comfortable with the driver's current behavior. Perhaps not as comfortable as I originally was when the frontend/backend protocol was adjusted specifically for this purpose, or when the patch utilizing this new data was committed, but I believe it's a logical and defensible position. You will need to find clear documentation that this is incorrect or rally some other users to your position. Kris Jurka