From e4247023f10dff4b50c762a7cf3597602bb7cd89 Mon Sep 17 00:00:00 2001 From: Vadim B. Mikheev Date: Thu, 21 Aug 1997 01:32:19 +0000 Subject: Get rid of attproc, atttyparg, attcanindex, attdefrel, attbound from pg_attribute. atthasdef added. --- src/backend/access/common/tupdesc.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/backend/access') diff --git a/src/backend/access/common/tupdesc.c b/src/backend/access/common/tupdesc.c index c86027bc1d7..e9bc2df684a 100644 --- a/src/backend/access/common/tupdesc.c +++ b/src/backend/access/common/tupdesc.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.14 1997/08/19 04:42:31 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.15 1997/08/21 01:31:24 vadim Exp $ * * NOTES * some of the executor utility code such as "ExecTypeFromTL" should be @@ -179,17 +179,15 @@ TupleDescInitEntry(TupleDesc desc, memset(att->attname.data,0,NAMEDATALEN); - att->attdefrel = 0; /* dummy value */ att->attnvals = 0; /* dummy value */ - att->atttyparg = 0; /* dummy value */ - att->attbound = 0; /* dummy value */ - att->attcanindex = 0; /* dummy value */ - att->attproc = 0; /* dummy value */ att->attcacheoff = -1; att->attnum = attributeNumber; att->attnelems = attdim; att->attisset = attisset; + + att->attnotnull = false; + att->atthasdef = false; /* ---------------- * search the system cache for the type tuple of the attribute -- cgit v1.2.3