aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-07-19 10:30:03 -0400
committerRobert Haas <rhaas@postgresql.org>2011-07-19 10:30:26 -0400
commitcdd61237d6265fa355afa772ca3eee39e4905bcb (patch)
tree92d4a01e8aee924e814c3a8af465d70793430937
parent6ba77bce9378cb9c5fb89a4d30bf77c2a17b0d64 (diff)
downloadpostgresql-cdd61237d6265fa355afa772ca3eee39e4905bcb.tar.gz
postgresql-cdd61237d6265fa355afa772ca3eee39e4905bcb.zip
Remove superfluous variable.
Reported by Peter Eisentraut.
-rw-r--r--src/backend/commands/indexcmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 16eae204ab3..a1c299d00ee 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);
/*