pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / 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 20:06:14 +0100
Message-ID: <dl05n5$60r$1@sea.gmane.org> (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 wrote on 10.11.2005 19:39:
> Are you sure you want to be using getIndexInfo for this instead of
> something more pg specific like the pg_get_indexdef function?
>
> I personally don't think adding opclass to the column_name is a good
> idea, but you're welcome to try and sway me with a convincing argument
> or popular support.
The reason I'm asking: I'm maintaining a JDBC based SQL client which is
also displaying index information (including the SQL to re-create them)
Currently the information returned by the driver is not enough to fully
re-create those index definitions.
So I'll have to maintain Postgres specific code for this, which is not a
big deal (for displaying the DDL I now use pg_indexes which contains the
correct SQL)
It surely isn't a big thing, and probably doesn't affect 99% of the
users, but still I thought I bring this topic up.
Thanks for your time.
Thomas
view thread (8+ messages) latest in thread
Message-ID: <dl05n5$60r$1@sea.gmane.org> Permalink: ../dl05n5$60r$1@sea.gmane.org/ Also on: postgresql.org/message-id/dl05n5$60r$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: <dl05n5$60r$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> <Pine.BSO.4.61.0511101246080.3752@leary.csoft.net> <dl020t$njm$1@sea.gmane.org> <Pine.BSO.4.61.0511101320340.18952@leary.csoft.net> <dl05n5$60r$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