File tree 3 files changed +8
-10
lines changed
3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.126 2000/05/19 03:22:31 tgl Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.127 2000/05/20 23:11:29 tgl Exp $
12
12
*
13
13
*
14
14
* INTERFACE ROUTINES
62
62
#include "storage/smgr.h"
63
63
#include "tcop/tcopprot.h"
64
64
#include "utils/builtins.h"
65
+ #include "utils/catcache.h"
65
66
#include "utils/portal.h"
66
67
#include "utils/relcache.h"
67
68
#include "utils/syscache.h"
@@ -184,18 +185,16 @@ heap_create(char *relname,
184
185
bool istemp ,
185
186
bool storage_create )
186
187
{
188
+ static unsigned int uniqueId = 0 ;
189
+
187
190
int i ;
188
191
Oid relid ;
189
192
Relation rel ;
190
193
int len ;
191
194
bool nailme = false;
192
195
int natts = tupDesc -> natts ;
193
- static unsigned int uniqueId = 0 ;
194
-
195
- extern GlobalMemory CacheCxt ;
196
196
MemoryContext oldcxt ;
197
197
198
-
199
198
/* ----------------
200
199
* sanity checks
201
200
* ----------------
Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.109 2000/05/19 03:22:31 tgl Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.110 2000/05/20 23:11:28 tgl Exp $
12
12
*
13
13
*
14
14
* INTERFACE ROUTINES
41
41
#include "parser/parse_func.h"
42
42
#include "storage/smgr.h"
43
43
#include "utils/builtins.h"
44
+ #include "utils/catcache.h"
44
45
#include "utils/relcache.h"
45
46
#include "utils/syscache.h"
46
47
#include "utils/temprel.h"
@@ -432,7 +433,6 @@ AccessMethodObjectIdGetForm(Oid accessMethodObjectId)
432
433
static void
433
434
ConstructIndexReldesc (Relation indexRelation , Oid amoid )
434
435
{
435
- extern GlobalMemory CacheCxt ;
436
436
MemoryContext oldcxt ;
437
437
438
438
/* ----------------
@@ -880,7 +880,6 @@ InitIndexStrategy(int numatts,
880
880
uint16 amsupport ;
881
881
Oid attrelid ;
882
882
Size strsize ;
883
- extern GlobalMemory CacheCxt ;
884
883
885
884
/* ----------------
886
885
* get information from the index relation descriptor
Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.21 2000/04/12 17:15:54 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.22 2000/05/20 23:11:29 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
28
28
#include "access/xact.h"
29
29
#include "catalog/heap.h"
30
30
#include "catalog/index.h"
31
+ #include "utils/catcache.h"
31
32
#include "utils/temprel.h"
32
33
33
- GlobalMemory CacheCxt ;
34
34
35
35
/* ----------------
36
36
* global variables
You can’t perform that action at this time.
0 commit comments