pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
JDBC index metadata filter_condition 2+ messages / 2 participants [nested] [flat]
* JDBC index metadata filter_condition @ 2009-12-02 04:23 Mark Kirkwood <mark.kirkwood@catalyst.net.nz> 2009-12-04 21:24 ` Re: JDBC index metadata filter_condition Kris Jurka <books@ejurka.com> 0 siblings, 1 reply; 2+ messages in thread From: Mark Kirkwood @ 2009-12-02 04:23 UTC (permalink / raw) To: pgsql-jdbc 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) 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?) regards Mark Attachments: pgjdbc-filter-1.patch.gz (application/x-gzip, 537B) download ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: JDBC index metadata filter_condition 2009-12-02 04:23 JDBC index metadata filter_condition Mark Kirkwood <mark.kirkwood@catalyst.net.nz> @ 2009-12-04 21:24 ` Kris Jurka <books@ejurka.com> 0 siblings, 0 replies; 2+ messages in thread From: Kris Jurka @ 2009-12-04 21:24 UTC (permalink / raw) To: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>; +Cc: pgsql-jdbc 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2009-12-04 21:24 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2009-12-02 04:23 JDBC index metadata filter_condition Mark Kirkwood <mark.kirkwood@catalyst.net.nz> 2009-12-04 21:24 ` Kris Jurka <books@ejurka.com>
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