Re: getIndexInfo() not returning operator classes

From: Kris Jurka <books(at)ejurka(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getIndexInfo() not returning operator classes
Date: 2005-11-10 17:48:31
Message-ID: Pine.BSO.4.61.0511101246080.3752@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Kellerer 2005-11-10 18:03:10 Re: getIndexInfo() not returning operator classes
Previous Message Thomas Kellerer 2005-11-10 17:30:13 Re: getIndexInfo() not returning operator classes