From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: getIndexInfo() not returning operator classes
Date: Thu, 10 Nov 2005 01:20:13 +0100
Message-ID: <dku3nu$8k2$1@sea.gmane.org> (raw)
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
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: <dku3nu$8k2$1@sea.gmane.org>
References: <dku3nu$8k2$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