|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.17 1997/08/19 21:30:30 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.18 1997/08/21 01:32:03 vadim Exp $ |
11 | 11 | *
|
12 | 12 | * INTERFACE ROUTINES
|
13 | 13 | * heap_creatr() - Create an uncataloged heap relation
|
@@ -84,58 +84,58 @@ static void addNewRelationType(char *typeName, Oid new_rel_oid);
|
84 | 84 | */
|
85 | 85 |
|
86 | 86 | static FormData_pg_attribute a1 = {
|
87 |
| - 0xffffffff, {"ctid"}, 27l, 0l, 0l, 0l, sizeof (ItemPointerData), |
88 |
| - SelfItemPointerAttributeNumber, 0, '\0', '\001', 0l, 'i', '\0' |
| 87 | + 0xffffffff, {"ctid"}, 27l, 0l, sizeof (ItemPointerData), |
| 88 | + SelfItemPointerAttributeNumber, 0, -1, '\0', '\0', 'i', '\0', '\0' |
89 | 89 | };
|
90 | 90 |
|
91 | 91 | static FormData_pg_attribute a2 = {
|
92 |
| - 0xffffffff, {"oid"}, 26l, 0l, 0l, 0l, sizeof(Oid), |
93 |
| - ObjectIdAttributeNumber, 0, '\001', '\001', 0l, 'i','\0' |
| 92 | + 0xffffffff, {"oid"}, 26l, 0l, sizeof(Oid), |
| 93 | + ObjectIdAttributeNumber, 0, -1, '\001', '\0', 'i', '\0', '\0' |
94 | 94 | };
|
95 | 95 |
|
96 | 96 | static FormData_pg_attribute a3 = {
|
97 |
| - 0xffffffff, {"xmin"}, 28l, 0l, 0l, 0l, sizeof (TransactionId), |
98 |
| - MinTransactionIdAttributeNumber, 0, '\0', '\001', 0l, 'i', '\0' |
| 97 | + 0xffffffff, {"xmin"}, 28l, 0l, sizeof (TransactionId), |
| 98 | + MinTransactionIdAttributeNumber, 0, -1, '\0', '\0', 'i', '\0', '\0' |
99 | 99 | };
|
100 | 100 |
|
101 | 101 | static FormData_pg_attribute a4 = {
|
102 |
| - 0xffffffff, {"cmin"}, 29l, 0l, 0l, 0l, sizeof (CommandId), |
103 |
| - MinCommandIdAttributeNumber, 0, '\001', '\001', 0l, 's', '\0' |
| 102 | + 0xffffffff, {"cmin"}, 29l, 0l, sizeof (CommandId), |
| 103 | + MinCommandIdAttributeNumber, 0, -1, '\001', '\0', 's', '\0', '\0' |
104 | 104 | };
|
105 | 105 |
|
106 | 106 | static FormData_pg_attribute a5 = {
|
107 |
| - 0xffffffff, {"xmax"}, 28l, 0l, 0l, 0l, sizeof (TransactionId), |
108 |
| - MaxTransactionIdAttributeNumber, 0, '\0', '\001', 0l, 'i', '\0' |
| 107 | + 0xffffffff, {"xmax"}, 28l, 0l, sizeof (TransactionId), |
| 108 | + MaxTransactionIdAttributeNumber, 0, -1, '\0', '\0', 'i', '\0', '\0' |
109 | 109 | };
|
110 | 110 |
|
111 | 111 | static FormData_pg_attribute a6 = {
|
112 |
| - 0xffffffff, {"cmax"}, 29l, 0l, 0l, 0l, sizeof (CommandId), |
113 |
| - MaxCommandIdAttributeNumber, 0, '\001', '\001', 0l, 's', '\0' |
| 112 | + 0xffffffff, {"cmax"}, 29l, 0l, sizeof (CommandId), |
| 113 | + MaxCommandIdAttributeNumber, 0, -1, '\001', '\0', 's', '\0', '\0' |
114 | 114 | };
|
115 | 115 |
|
116 | 116 | static FormData_pg_attribute a7 = {
|
117 |
| - 0xffffffff, {"chain"}, 27l, 0l, 0l, 0l, sizeof (ItemPointerData), |
118 |
| - ChainItemPointerAttributeNumber, 0, '\0', '\001', 0l, 'i', '\0' |
| 117 | + 0xffffffff, {"chain"}, 27l, 0l, sizeof (ItemPointerData), |
| 118 | + ChainItemPointerAttributeNumber, 0, -1, '\0', '\0', 'i', '\0', '\0' |
119 | 119 | };
|
120 | 120 |
|
121 | 121 | static FormData_pg_attribute a8 = {
|
122 |
| - 0xffffffff, {"anchor"}, 27l, 0l, 0l, 0l, sizeof (ItemPointerData), |
123 |
| - AnchorItemPointerAttributeNumber, 0, '\0', '\001', 0l, 'i', '\0' |
| 122 | + 0xffffffff, {"anchor"}, 27l, 0l, sizeof (ItemPointerData), |
| 123 | + AnchorItemPointerAttributeNumber, 0, -1, '\0', '\0', 'i', '\0', '\0' |
124 | 124 | };
|
125 | 125 |
|
126 | 126 | static FormData_pg_attribute a9 = {
|
127 |
| - 0xffffffff, {"tmin"}, 20l, 0l, 0l, 0l, sizeof (AbsoluteTime), |
128 |
| - MinAbsoluteTimeAttributeNumber, 0, '\001', '\001', 0l, 'i', '\0' |
| 127 | + 0xffffffff, {"tmin"}, 702l, 0l, sizeof (AbsoluteTime), |
| 128 | + MinAbsoluteTimeAttributeNumber, 0, -1, '\001', '\0', 'i', '\0', '\0' |
129 | 129 | };
|
130 | 130 |
|
131 | 131 | static FormData_pg_attribute a10 = {
|
132 |
| - 0xffffffff, {"tmax"}, 20l, 0l, 0l, 0l, sizeof (AbsoluteTime), |
133 |
| - MaxAbsoluteTimeAttributeNumber, 0, '\001', '\001', 0l, 'i', '\0' |
| 132 | + 0xffffffff, {"tmax"}, 702l, 0l, sizeof (AbsoluteTime), |
| 133 | + MaxAbsoluteTimeAttributeNumber, 0, -1, '\001', '\0', 'i', '\0', '\0' |
134 | 134 | };
|
135 | 135 |
|
136 | 136 | static FormData_pg_attribute a11 = {
|
137 |
| - 0xffffffff, {"vtype"}, 18l, 0l, 0l, 0l, sizeof (char), |
138 |
| - VersionTypeAttributeNumber, 0, '\001', '\001', 0l, 'c', '\0' |
| 137 | + 0xffffffff, {"vtype"}, 18l, 0l, sizeof (char), |
| 138 | + VersionTypeAttributeNumber, 0, -1, '\001', '\0', 'c', '\0', '\0' |
139 | 139 | };
|
140 | 140 |
|
141 | 141 | static AttributeTupleForm HeapAtt[] =
|
|
0 commit comments