11
11
*
12
12
*
13
13
* IDENTIFICATION
14
- * $PostgreSQL: pgsql/src/bin/pg_dump/common.c,v 1.81 2004/03/03 21:28:54 tgl Exp $
14
+ * $PostgreSQL: pgsql/src/bin/pg_dump/common.c,v 1.82 2004/05/20 17:13:52 tgl Exp $
15
15
*
16
16
*-------------------------------------------------------------------------
17
17
*/
@@ -50,8 +50,8 @@ static int numCatalogIds = 0;
50
50
* them into findTableByOid() and friends.
51
51
*/
52
52
static TableInfo * tblinfo ;
53
- static TypeInfo * tinfo ;
54
- static FuncInfo * finfo ;
53
+ static TypeInfo * typinfo ;
54
+ static FuncInfo * funinfo ;
55
55
static OprInfo * oprinfo ;
56
56
static int numTables ;
57
57
static int numTypes ;
@@ -101,12 +101,12 @@ getSchemaData(int *numTablesPtr,
101
101
102
102
if (g_verbose )
103
103
write_msg (NULL , "reading user-defined functions\n" );
104
- finfo = getFuncs (& numFuncs );
104
+ funinfo = getFuncs (& numFuncs );
105
105
106
106
/* this must be after getFuncs */
107
107
if (g_verbose )
108
108
write_msg (NULL , "reading user-defined types\n" );
109
- tinfo = getTypes (& numTypes );
109
+ typinfo = getTypes (& numTypes );
110
110
111
111
/* this must be after getFuncs, too */
112
112
if (g_verbose )
@@ -631,7 +631,7 @@ findTableByOid(Oid oid)
631
631
632
632
/*
633
633
* findTypeByOid
634
- * finds the entry (in tinfo ) of the type with the given oid
634
+ * finds the entry (in typinfo ) of the type with the given oid
635
635
* returns NULL if not found
636
636
*
637
637
* NOTE: should hash this, but just do linear search for now
@@ -643,15 +643,15 @@ findTypeByOid(Oid oid)
643
643
644
644
for (i = 0 ; i < numTypes ; i ++ )
645
645
{
646
- if (tinfo [i ].dobj .catId .oid == oid )
647
- return & tinfo [i ];
646
+ if (typinfo [i ].dobj .catId .oid == oid )
647
+ return & typinfo [i ];
648
648
}
649
649
return NULL ;
650
650
}
651
651
652
652
/*
653
653
* findFuncByOid
654
- * finds the entry (in finfo ) of the function with the given oid
654
+ * finds the entry (in funinfo ) of the function with the given oid
655
655
* returns NULL if not found
656
656
*
657
657
* NOTE: should hash this, but just do linear search for now
@@ -663,8 +663,8 @@ findFuncByOid(Oid oid)
663
663
664
664
for (i = 0 ; i < numFuncs ; i ++ )
665
665
{
666
- if (finfo [i ].dobj .catId .oid == oid )
667
- return & finfo [i ];
666
+ if (funinfo [i ].dobj .catId .oid == oid )
667
+ return & funinfo [i ];
668
668
}
669
669
return NULL ;
670
670
}
0 commit comments