Hitoshi Harada <umi.tan...@gmail.com> writes:
> Looks like rd_indpred is not correct if index relation is fresh.
> Something like this works for me.

> -                       if (indexRel->rd_indpred != NIL)
> +                       if (RelationGetIndexPredicate(indexRel) != NIL)

Hm, yeah, the direct access to rd_indpred is certainly wrong.
Will apply, thanks!

                        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to