Re: DatabaseMetaData.getIndexInfo and function-based indexes

From: Kris Jurka <books(at)ejurka(dot)com>
To: peter royal <proyal(at)pace2020(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: DatabaseMetaData.getIndexInfo and function-based indexes
Date: 2005-02-19 19:27:25
Message-ID: Pine.BSO.4.56.0502191426080.11529@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sat, 19 Feb 2005, peter royal wrote:

> i'm mainly concerned about single-column functional indexes right now.
> being able to get upper(a) as the column name would be enough now. but
> tom's method for working with multi-column functional indices would be
> a bonus too.
>
> would a patch to have DMD.getIndexInfo() return this information be
> accepted into the tree? if so, i'll work one up.

Yes, a column name of "pg_expression_N" is rather useless. upper(a) may
not be a column name, but it is more accurate and informative.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2005-02-19 20:15:29 Re: [Patch] JDBC3 Blob support
Previous Message Sven Köhler 2005-02-19 17:40:58 Re: getGeneratedKeys method