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 7FA618B9B6C for ; Sat, 19 Feb 2005 19:27:35 +0000 (GMT) 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 37946-05 for ; Sat, 19 Feb 2005 19:27:25 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 9676A8BAA03 for ; Sat, 19 Feb 2005 19:27:25 +0000 (GMT) Received: (qmail 12337 invoked by uid 1112); 19 Feb 2005 19:27:25 -0000 Date: Sat, 19 Feb 2005 14:27:25 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: peter royal Cc: Tom Lane , pgsql-jdbc@postgresql.org Subject: Re: DatabaseMetaData.getIndexInfo and function-based indexes In-Reply-To: Message-ID: References: <2BDB6E76-8200-11D9-8AAF-000A95AC787E@pace2020.com> <14458.1108792459@sss.pgh.pa.us> 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.012 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/137 X-Sequence-Number: 12317 On Sat, 19 Feb 2005, peter royal wrote: > i'm mainly concerned about single-column functional indexes right now. > being able to get upper(a) as the column name would be enough now. but > tom's method for working with multi-column functional indices would be > a bonus too. > > would a patch to have DMD.getIndexInfo() return this information be > accepted into the tree? if so, i'll work one up. Yes, a column name of "pg_expression_N" is rather useless. upper(a) may not be a column name, but it is more accurate and informative. Kris Jurka