diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 16eae204ab35e2f1cf52cd63db07946c239792a8..a1c299d00ee4f6485c79c9831fe864a577672f20 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -123,7 +123,6 @@ CheckIndexCompatible(Oid oldId, HeapTuple tuple; Form_pg_am accessMethodForm; bool amcanorder; - RegProcedure amoptions; int16 *coloptions; IndexInfo *indexInfo; int numberOfAttributes; @@ -158,7 +157,6 @@ CheckIndexCompatible(Oid oldId, accessMethodId = HeapTupleGetOid(tuple); accessMethodForm = (Form_pg_am) GETSTRUCT(tuple); amcanorder = accessMethodForm->amcanorder; - amoptions = accessMethodForm->amoptions; ReleaseSysCache(tuple); /*