aboutsummaryrefslogtreecommitdiff
path: root/src/backend/bootstrap/bootstrap.c
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>1999-12-20 10:40:43 +0000
committerJan Wieck <JanWieck@Yahoo.com>1999-12-20 10:40:43 +0000
commit7c385f73e594fa463658244ee027be18325db03c (patch)
tree0172b4014283037e689757de6c2f279537a83fe3 /src/backend/bootstrap/bootstrap.c
parent665db209e51ae8ed17a40278ed820b5376717d3f (diff)
downloadpostgresql-7c385f73e594fa463658244ee027be18325db03c.tar.gz
postgresql-7c385f73e594fa463658244ee027be18325db03c.zip
Required catalog changes for extended LONG attribute storage.
Jan
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r--src/backend/bootstrap/bootstrap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c
index b55dd8dcc05..3ae935339c1 100644
--- a/src/backend/bootstrap/bootstrap.c
+++ b/src/backend/bootstrap/bootstrap.c
@@ -7,7 +7,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.73 1999/12/16 22:19:37 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.74 1999/12/20 10:40:39 wieck Exp $
*
*-------------------------------------------------------------------------
*/
@@ -562,6 +562,7 @@ DefineAttr(char *name, char *type, int attnum)
attrtypes[attnum]->attnum = 1 + attnum; /* fillatt */
attlen = attrtypes[attnum]->attlen = Ap->am_typ.typlen;
attrtypes[attnum]->attbyval = Ap->am_typ.typbyval;
+ attrtypes[attnum]->attstorage = 'p';
attrtypes[attnum]->attalign = Ap->am_typ.typalign;
}
else
@@ -572,6 +573,7 @@ DefineAttr(char *name, char *type, int attnum)
printf("<%s %s> ", NameStr(attrtypes[attnum]->attname), type);
attrtypes[attnum]->attnum = 1 + attnum; /* fillatt */
attlen = attrtypes[attnum]->attlen = Procid[typeoid].len;
+ attrtypes[attnum]->attstorage = 'p';
/*
* Cheat like mad to fill in these items from the length only.