Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit405a468

Browse files
committed
Fix direct access to Relation->rd_indpred.
Should use RelationGetIndexPredicate(), since rd_indpred is just a cachethat is not computed until/unless demanded. Per buildfarm failure onCLOBBER_CACHE_ALWAYS animals; diagnosis and fix by Hitoshi Harada.
1 parente8b1d1b commit405a468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/commands/matview.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ refresh_by_match_merge(Oid matviewOid, Oid tempOid)
634634

635635
/* Skip partial indexes. */
636636
indexRel=index_open(index->indexrelid,RowExclusiveLock);
637-
if (indexRel->rd_indpred!=NIL)
637+
if (RelationGetIndexPredicate(indexRel)!=NIL)
638638
{
639639
index_close(indexRel,NoLock);
640640
ReleaseSysCache(indexTuple);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp