From 7c385f73e594fa463658244ee027be18325db03c Mon Sep 17 00:00:00 2001 From: Jan Wieck Date: Mon, 20 Dec 1999 10:40:43 +0000 Subject: Required catalog changes for extended LONG attribute storage. Jan --- src/backend/bootstrap/bootstrap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/backend/bootstrap/bootstrap.c') 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. -- cgit v1.2.3