diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c index aabc3a33d04383bec31d255d950f553c072b3390..649e2300245e47ec7c4e9c88e2eb0574db690444 100644 --- a/src/backend/catalog/index.c +++ b/src/backend/catalog/index.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.131 2000/12/08 06:17:57 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.132 2000/12/09 20:31:43 tgl Exp $ * * * INTERFACE ROUTINES @@ -21,6 +21,7 @@ */ #include "postgres.h" +#include <unistd.h> #include "access/genam.h" #include "access/heapam.h" @@ -1513,7 +1514,7 @@ setNewRelfilenode(Relation relation) Oid newrelfilenode; bool in_place_update = false; HeapTupleData lockTupleData; - HeapTuple classTuple; + HeapTuple classTuple = NULL; Buffer buffer; RelationData workrel; diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index deb8cc67df39312fc256e46bd39a9c7544e7f46c..4e9780462a5e619d1d03b5933287d432df43cf56 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.119 2000/12/08 06:17:56 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.120 2000/12/09 20:32:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -253,7 +253,6 @@ static void RelationClearRelation(Relation relation, bool rebuildIt); #ifdef ENABLE_REINDEX_NAILED_RELATIONS static void RelationReloadClassinfo(Relation relation); #endif /* ENABLE_REINDEX_NAILED_RELATIONS */ -static void RelationResetRelation(Relation relation, bool rebuildIt); static void RelationFlushRelation(Relation *relationPtr, int skipLocalRelations); static Relation RelationNameCacheGetRelation(const char *relationName);