pgsql: Fix direct access to Relation->rd_indpred. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix direct access to Relation->rd_indpred.
Date
Msg-id E1UzgMM-0001C4-03@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/405a468b02dd80a069b95c4eb9838cb6a562eddd

Modified Files
--------------
src/backend/commands/matview.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix a few problems in barrier.h.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Move checking an explicit VARIADIC "any" argument into the parse