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 66AB4DAC10 for ; Wed, 9 Nov 2005 23:03:13 -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 97783-09 for ; Thu, 10 Nov 2005 03:03:07 +0000 (GMT) X-Greylist: delayed 02:38:43.546752 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id E5464DAE8D for ; Wed, 9 Nov 2005 23:02:59 -0400 (AST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr2.postgresql.org (Postfix) with ESMTP id E7505F12F2 for ; Thu, 10 Nov 2005 00:24:27 +0000 (GMT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ea0Cn-0003zW-V9 for pgsql-jdbc@postgresql.org; Thu, 10 Nov 2005 01:22:17 +0100 Received: from ppp-82-135-87-171.mnet-online.de ([82.135.87.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Nov 2005 01:22:17 +0100 Received: from spam_eater by ppp-82-135-87-171.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Nov 2005 01:22:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: getIndexInfo() not returning operator classes Date: Thu, 10 Nov 2005 01:20:13 +0100 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp-82-135-87-171.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0 X-Accept-Language: de-DE, de, en-us, en X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/74 X-Sequence-Number: 14172 Hello, when I call getIndexInfo() it correctly returns the definition for function based indexes, but it does not return operator classed. An index: create index idx_foo on foo(bar varchar_pattern_ops); will show up as "bar" only in the definition column of the result set. This makes it a bit confusing if you have another index like: create index idx_foo_2 on foo(bar); Which will show two identical index definitions even though they are different. I tested this with PG 8.1 and the 8.1 build 404 driver on Windows 2000 Regards Thomas