Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id F3604632690 for ; Fri, 4 Dec 2009 17:25:03 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 82319-01 for ; Fri, 4 Dec 2009 21:24:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id B817F632620 for ; Fri, 4 Dec 2009 17:24:52 -0400 (AST) Received: by leary.csoft.net (Postfix, from userid 1112) id E3678A39F; Fri, 4 Dec 2009 16:24:50 -0500 (EST) Date: Fri, 4 Dec 2009 16:24:49 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Mark Kirkwood cc: pgsql-jdbc@postgresql.org Subject: Re: JDBC index metadata filter_condition In-Reply-To: <4B15EBB8.70506@catalyst.net.nz> Message-ID: References: <4B15EBB8.70506@catalyst.net.nz> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/4 X-Sequence-Number: 20085 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