summaryrefslogtreecommitdiff
path: root/src/backend/access
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/access
parente786508600e15c33d0727374b466fa7854c7c77e (diff)
downloadpostgresql-326d8658adbe5eb6d711302f54afb3ed7d19c8a1.tar.gz
Change form() to varargform() to prevent portability problems.
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/index/istrat.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/access/index/istrat.c b/src/backend/access/index/istrat.c
index 61cbe56065..268df6946e 100644
--- a/src/backend/access/index/istrat.c
+++ b/src/backend/access/index/istrat.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.32 1999/05/25 16:07:15 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.33 1999/06/19 04:54:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -612,7 +612,7 @@ IndexSupportInitialize(IndexStrategy indexStrategy,
attributeNumber++)
{
int16 support;
- Form_pg_amproc form;
+ Form_pg_amproc aform;
RegProcedure *loc;
loc = &indexSupport[((attributeNumber - 1) * maxSupportNumber)];
@@ -627,8 +627,8 @@ IndexSupportInitialize(IndexStrategy indexStrategy,
while (HeapTupleIsValid(tuple = heap_getnext(scan, 0)))
{
- form = (Form_pg_amproc) GETSTRUCT(tuple);
- loc[(form->amprocnum - 1)] = form->amproc;
+ aform = (Form_pg_amproc) GETSTRUCT(tuple);
+ loc[(aform->amprocnum - 1)] = aform->amproc;
}
heap_endscan(scan);
@@ -667,12 +667,12 @@ IndexSupportInitialize(IndexStrategy indexStrategy,
while (HeapTupleIsValid(tuple = heap_getnext(scan, 0)))
{
- Form_pg_amop form;
+ Form_pg_amop aform;
- form = (Form_pg_amop) GETSTRUCT(tuple);
+ aform = (Form_pg_amop) GETSTRUCT(tuple);
OperatorRelationFillScanKeyEntry(operatorRelation,
- form->amopopr,
- StrategyMapGetScanKeyEntry(map, form->amopstrategy));
+ aform->amopopr,
+ StrategyMapGetScanKeyEntry(map, aform->amopstrategy));
}
heap_endscan(scan);