!1105 分区表交换分区时,如果指定verbose会报错

Merge pull request !1105 from ShineStarStar/gen
This commit is contained in:
opengauss-bot
2021-07-21 06:17:35 +00:00
committed by Gitee

View File

@ -20755,7 +20755,7 @@ static void checkValidationForExchangeTable(Relation partTableRel, Relation ordT
tupleDesc = ordTableRel->rd_att;
if (exchangeVerbose) {
indexList = RelationGetIndexList(partTableRel);
indexList = RelationGetSpecificKindIndexList(partTableRel, false);
foreach (cell, indexList) {
Oid indexOid = lfirst_oid(cell);