pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC index metadata filter_condition
Date: Fri, 4 Dec 2009 16:24:49 -0500 (EST)
Message-ID: <alpine.BSO.2.00.0912041622450.4678@leary.csoft.net> (raw)
In-Reply-To: <4B15EBB8.70506@catalyst.net.nz>
References: <4B15EBB8.70506@catalyst.net.nz>



On Wed, 2 Dec 2009, Mark Kirkwood wrote:

> I'm investigating a Java based schema designer tool which uses the JDBC 
> metadata API for most of its information gathering. I notice that the 
> filter_condition field  returned in the getIndexInfo() method's resultset is 
> always null. It seems straightforward to fix this (see attached patch)
>

Applied to CVS for 8.4 and 8.5.  It's half new feature, half bugfix, so I 
didn't backpatch it all the way.

> I've specified 7.4 as the earliest server version that will try to populate 
> this field - even tho it looks like 7.3 might work (do we care about 7.3 and 
> earlier?)
>

Since 7.4 is the oldest officially supported version, I guess that's our 
cutoff.  I still test back to 7.2, so I adjusted the patch to make it work 
that far back.

Kris Jurka



view thread (2+ messages)

Message-ID: <alpine.BSO.2.00.0912041622450.4678@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.0912041622450.4678@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.0912041622450.4678@leary.csoft.net

 · 

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: books@ejurka.com, mark.kirkwood@catalyst.net.nz
  Subject: Re: JDBC index metadata filter_condition
  In-Reply-To: <alpine.BSO.2.00.0912041622450.4678@leary.csoft.net>
  References: <4B15EBB8.70506@catalyst.net.nz> <alpine.BSO.2.00.0912041622450.4678@leary.csoft.net>

* 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