diff options
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/indexcmds.c | 2 | ||||
-rw-r--r-- | src/backend/commands/tablecmds.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index f8d3ea820e1..c92f5620ec1 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -2468,7 +2468,7 @@ GetOperatorFromCompareType(Oid opclass, Oid rhstype, CompareType cmptype, /* * Ask the index AM to translate to its internal stratnum */ - *strat = IndexAmTranslateCompareType(cmptype, amid, opfamily, opcintype, true); + *strat = IndexAmTranslateCompareType(cmptype, amid, opfamily, true); if (*strat == InvalidStrategy) ereport(ERROR, errcode(ERRCODE_UNDEFINED_OBJECT), diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 9d8754be7e5..ce7d115667e 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -10113,7 +10113,7 @@ ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel, */ for_overlaps = with_period && i == numpks - 1; cmptype = for_overlaps ? COMPARE_OVERLAP : COMPARE_EQ; - eqstrategy = IndexAmTranslateCompareType(cmptype, amid, opfamily, opcintype, true); + eqstrategy = IndexAmTranslateCompareType(cmptype, amid, opfamily, true); if (eqstrategy == InvalidStrategy) ereport(ERROR, errcode(ERRCODE_UNDEFINED_OBJECT), |