]> granicus.if.org Git - postgresql/commit
Fix direct access to Relation->rd_indpred.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Jul 2013 05:01:53 +0000 (01:01 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Jul 2013 05:02:18 +0000 (01:02 -0400)
commit405a468b02dd80a069b95c4eb9838cb6a562eddd
tree167c4ea98a85e2b0b7f498b017e106f91c15a539
parente8b1d1befeab17453eb2977e83a45649e6ed8790
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.
src/backend/commands/matview.c