pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedgetIndexInfo() is not returning filter condition.
2+ messages / 2 participants
[nested] [flat]
* getIndexInfo() is not returning filter condition.
@ 2005-08-07 10:15 Yair Ohayon <yair-o@orbotech.com>
2005-08-07 22:04 ` Re: getIndexInfo() is not returning filter condition. Oliver Jowett <oliver@opencloud.com>
0 siblings, 1 reply; 2+ messages in thread
From: Yair Ohayon @ 2005-08-07 10:15 UTC (permalink / raw)
To: pgsql-jdbc
Hi ,
I'm trying to use getIndexInfo() to get index data , the one field which
seems to be wrongly null is filter_condition.
I'm working with postgresql 8.03 , Java 1.5_b04,jdbc
postgresql-8.0-312.jdbc3.jar (tried with 7.4 as well).
the sql statement which created the index is :
CREATE INDEX test
ON gdm
USING btree
(datetime, logid, threshold, opendmessage)
WHERE logid::text = 'ttt'::text AND threshold::text = 'YYYY'::text;
I get the same from pgadmin.
Is this bug known ? am i doing something wrong?
No reference in FAQ,archive and google groups...
Thanks.
Yair.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: getIndexInfo() is not returning filter condition.
2005-08-07 10:15 getIndexInfo() is not returning filter condition. Yair Ohayon <yair-o@orbotech.com>
@ 2005-08-07 22:04 ` Oliver Jowett <oliver@opencloud.com>
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jowett @ 2005-08-07 22:04 UTC (permalink / raw)
To: Yair Ohayon <yair-o@orbotech.com>; +Cc: pgsql-jdbc
Yair Ohayon wrote:
> I'm trying to use getIndexInfo() to get index data , the one field which
> seems to be wrongly null is filter_condition.
Current JDBC drivers don't have any logic to fill in filter_condition,
unfortunately. It looks like this could be implemented using pg_get_expr
-- send a patch to the list?
-O
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-08-07 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-08-07 10:15 getIndexInfo() is not returning filter condition. Yair Ohayon <yair-o@orbotech.com>
2005-08-07 22:04 ` Oliver Jowett <oliver@opencloud.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