diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index 6e6af18d47..803bb06398 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -872,8 +872,7 @@ index_getprocinfo(Relation irel, procnum, attnum, RelationGetRelationName(irel)); fmgr_info_cxt(procId, locinfo, irel->rd_indexcxt); - fmgr_info_collation(irel->rd_index->indcollation.values[attnum-1], - locinfo); + fmgr_info_collation(irel->rd_indcollation[attnum-1], locinfo); } return locinfo;