X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 11467D7BAF for ; Thu, 10 Nov 2005 13:46:10 -0400 (AST) 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 28911-01 for ; Thu, 10 Nov 2005 17:46:06 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 01855D7115 for ; Thu, 10 Nov 2005 13:46:05 -0400 (AST) Received: (qmail 29123 invoked by uid 1112); 10 Nov 2005 17:48:31 -0000 Date: Thu, 10 Nov 2005 12:48:31 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Thomas Kellerer Cc: pgsql-jdbc@postgresql.org Subject: Re: getIndexInfo() not returning operator classes In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.008 required=5 tests=[AWL=0.008] X-Spam-Score: 0.008 X-Spam-Level: X-Archive-Number: 200511/81 X-Sequence-Number: 14179 On Thu, 10 Nov 2005, Thomas Kellerer wrote: > for the above mentioned index, I would expect the "DEFINITION" field of the > result set to contain "bar varchar_pattern_ops". Unless I misunderstood the > operator class and it does not apply to a column but to the whole index. In > that case, yes there isn't an apropriate place to put this information. > Opclasses are per column, not for the whole index. I don't see any DEFINITION column though. http://java.sun.com/j2se/1.5.0/docs/api/java/sql/DatabaseMetaData.html#getIndexInfo(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean,%20boolean) Kris Jurka