pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: getIndexInfo() not returning operator classes
Date: Thu, 10 Nov 2005 18:30:13 +0100
Message-ID: <dl0033$hng$1@sea.gmane.org> (raw)
In-Reply-To: <Pine.BSO.4.61.0511100152300.25311@leary.csoft.net>
References: <dku3nu$8k2$1@sea.gmane.org>
	<Pine.BSO.4.61.0511100152300.25311@leary.csoft.net>

Kris Jurka wrote on 10.11.2005 08:00:
>> 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.
> 
> 
> I'm not sure where you'd like to see the opclass displayed in the 
> results of getIndexInfo.  Also consider that every indexed column has a 
> opclass, the default or a user specified one.
> 

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.

Thanks for your answer
Thomas




view thread (8+ messages)  latest in thread

Message-ID: <dl0033$hng$1@sea.gmane.org>
Permalink:  ../dl0033$hng$1@sea.gmane.org/
Also on:    postgresql.org/message-id/dl0033$hng$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: getIndexInfo() not returning operator classes
  In-Reply-To: <dl0033$hng$1@sea.gmane.org>
  References: <dku3nu$8k2$1@sea.gmane.org> <Pine.BSO.4.61.0511100152300.25311@leary.csoft.net> <dl0033$hng$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox