mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Get rid of attproc, atttyparg, attcanindex, attdefrel, attbound
from pg_attribute. atthasdef added.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user