aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/path/indxpath.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-06-19 04:54:23 +0000
committerBruce Momjian <bruce@momjian.us>1999-06-19 04:54:23 +0000
commit326d8658adbe5eb6d711302f54afb3ed7d19c8a1 (patch)
tree875886d95c73d2019c58b88c337bd61ef79490b3 /src/backend/optimizer/path/indxpath.c
parente786508600e15c33d0727374b466fa7854c7c77e (diff)
downloadpostgresql-326d8658adbe5eb6d711302f54afb3ed7d19c8a1.tar.gz
postgresql-326d8658adbe5eb6d711302f54afb3ed7d19c8a1.zip
Change form() to varargform() to prevent portability problems.
Diffstat (limited to 'src/backend/optimizer/path/indxpath.c')
-rw-r--r--src/backend/optimizer/path/indxpath.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c
index 4a2dbbb0fe5..e1870912bff 100644
--- a/src/backend/optimizer/path/indxpath.c
+++ b/src/backend/optimizer/path/indxpath.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.56 1999/05/25 22:41:28 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.57 1999/06/19 04:54:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1008,7 +1008,7 @@ clause_pred_clause_test(Expr *predicate, Node *clause)
HeapScanDesc scan;
HeapTuple tuple;
ScanKeyData entry[3];
- Form_pg_amop form;
+ Form_pg_amop aform;
pred_var = (Var *) get_leftop(predicate);
pred_const = (Const *) get_rightop(predicate);
@@ -1067,13 +1067,13 @@ clause_pred_clause_test(Expr *predicate, Node *clause)
elog(DEBUG, "clause_pred_clause_test: unknown pred_op");
return false;
}
- form = (Form_pg_amop) GETSTRUCT(tuple);
+ aform = (Form_pg_amop) GETSTRUCT(tuple);
/* Get the predicate operator's strategy number (1 to 5) */
- pred_strategy = (StrategyNumber) form->amopstrategy;
+ pred_strategy = (StrategyNumber) aform->amopstrategy;
/* Remember which operator class this strategy number came from */
- opclass_id = form->amopclaid;
+ opclass_id = aform->amopclaid;
heap_endscan(scan);
@@ -1098,10 +1098,10 @@ clause_pred_clause_test(Expr *predicate, Node *clause)
elog(DEBUG, "clause_pred_clause_test: unknown clause_op");
return false;
}
- form = (Form_pg_amop) GETSTRUCT(tuple);
+ aform = (Form_pg_amop) GETSTRUCT(tuple);
/* Get the restriction clause operator's strategy number (1 to 5) */
- clause_strategy = (StrategyNumber) form->amopstrategy;
+ clause_strategy = (StrategyNumber) aform->amopstrategy;
heap_endscan(scan);
@@ -1130,10 +1130,10 @@ clause_pred_clause_test(Expr *predicate, Node *clause)
elog(DEBUG, "clause_pred_clause_test: unknown test_op");
return false;
}
- form = (Form_pg_amop) GETSTRUCT(tuple);
+ aform = (Form_pg_amop) GETSTRUCT(tuple);
/* Get the test operator */
- test_op = form->amopopr;
+ test_op = aform->amopopr;
heap_endscan(scan);