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 34323D1B1DA for ; Tue, 13 Jul 2004 00:58: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 96230-07 for ; Tue, 13 Jul 2004 03:58:42 +0000 (GMT) Received: from web53910.mail.yahoo.com (web53910.mail.yahoo.com [206.190.36.220]) by svr1.postgresql.org (Postfix) with SMTP id BB6F1D1B1C7 for ; Tue, 13 Jul 2004 00:58:34 -0300 (ADT) Message-ID: <20040713035839.66212.qmail@web53910.mail.yahoo.com> Received: from [64.81.205.234] by web53910.mail.yahoo.com via HTTP; Mon, 12 Jul 2004 20:58:39 PDT Date: Mon, 12 Jul 2004 20:58:39 -0700 (PDT) From: ow Subject: Re: ResultSetMetaData enhancements To: Kris Jurka Cc: pgsql-jdbc@postgresql.org In-Reply-To: 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.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200407/121 X-Sequence-Number: 10505 Hi, Yes, rsmd.getTableName() appears to work. However, I was under impression that the folowing should also work (but it does not): someValue = rs.getXXX("table.column"); // instead of just rs.getXXX("column") This would be usefull if result set contained two columns from different tables with the same name. Am I wrong on that one? Thanks --- Kris Jurka wrote: > No. I've tested it for all versions going back to 7.2. Although if you > want to use this feature you need at least a 7.4 server because it > requires using the new V3 protocol. > > Kris Jurka __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail