From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kris Jurka <books@ejurka.com>
Cc: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getIndexInfo() not returning operator classes
Date: Thu, 10 Nov 2005 14:18:21 -0500
Message-ID: <11082.1131650301@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSO.4.61.0511101320340.18952@leary.csoft.net>
References: <dku3nu$8k2$1@sea.gmane.org>
<Pine.BSO.4.61.0511100152300.25311@leary.csoft.net>
<dl0033$hng$1@sea.gmane.org>
<Pine.BSO.4.61.0511101246080.3752@leary.csoft.net>
<dl020t$njm$1@sea.gmane.org>
<Pine.BSO.4.61.0511101320340.18952@leary.csoft.net>
Kris Jurka <books@ejurka.com> writes:
> In the function case the indexed data is not the column data, so putting
> the column's name is misleading.
There's another argument here, which is that the JDBC spec (presumably)
says that that field is a column name, full stop. Now an app that's
using functional indexes is already outside the spec, so returning
something that's not just a name seems acceptable in that case, and
arguably it's the proper name for the index's data anyway. But cramming
an opclass name in there seems to me to violate the spirit of the spec.
regards, tom lane
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: tgl@sss.pgh.pa.us, books@ejurka.com, spam_eater@gmx.net
Subject: Re: getIndexInfo() not returning operator classes
In-Reply-To: <11082.1131650301@sss.pgh.pa.us>
References: <dku3nu$8k2$1@sea.gmane.org> <Pine.BSO.4.61.0511100152300.25311@leary.csoft.net> <dl0033$hng$1@sea.gmane.org> <Pine.BSO.4.61.0511101246080.3752@leary.csoft.net> <dl020t$njm$1@sea.gmane.org> <Pine.BSO.4.61.0511101320340.18952@leary.csoft.net> <11082.1131650301@sss.pgh.pa.us>
* 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