Fix direct access to Relation->rd_indpred.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 405a468b02dd80a069b95c4eb9838cb6a562eddd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-07-18T05:02:18Z
Releases: 9.4.0
Fix direct access to Relation->rd_indpred.

Should use RelationGetIndexPredicate(), since rd_indpred is just a cache
that is not computed until/unless demanded.  Per buildfarm failure on
CLOBBER_CACHE_ALWAYS animals; diagnosis and fix by Hitoshi Harada.

Files

PathChange+/−
src/backend/commands/matview.c modified +1 −1