|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.36 1998/01/16 23:19:27 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.37 1998/02/07 06:10:49 momjian Exp $ |
11 | 11 | *
|
12 | 12 | *
|
13 | 13 | * INTERFACE ROUTINES
|
@@ -118,12 +118,12 @@ DefaultBuild(Relation heapRelation, Relation indexRelation,
|
118 | 118 | * ----------------------------------------------------------------
|
119 | 119 | */
|
120 | 120 | static FormData_pg_attribute sysatts[] = {
|
121 |
| - {0l, {"ctid"}, 27l, 0l, 6, -1, 0, -1, 0, '\0', '\0', 'i', '\0', '\0'}, |
122 |
| - {0l, {"oid"}, 26l, 0l, 4, -2, 0, -1, 0, '\001', '\0', 'i', '\0', '\0'}, |
123 |
| - {0l, {"xmin"}, 28l, 0l, 4, -3, 0, -1, 0, '\0', '\0', 'i', '\0', '\0'}, |
124 |
| - {0l, {"cmin"}, 29l, 0l, 4, -4, 0, -1, 0, '\001', '\0', 'i', '\0', '\0'}, |
125 |
| - {0l, {"xmax"}, 28l, 0l, 4, -5, 0, -1, 0, '\0', '\0', 'i', '\0', '\0'}, |
126 |
| - {0l, {"cmax"}, 29l, 0l, 4, -6, 0, -1, 0, '\001', '\0', 'i', '\0', '\0'}, |
| 121 | + {0l, {"ctid"}, 27l, 0l, 6, -1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'}, |
| 122 | + {0l, {"oid"}, 26l, 0l, 4, -2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'}, |
| 123 | + {0l, {"xmin"}, 28l, 0l, 4, -3, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'}, |
| 124 | + {0l, {"cmin"}, 29l, 0l, 4, -4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'}, |
| 125 | + {0l, {"xmax"}, 28l, 0l, 4, -5, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'}, |
| 126 | + {0l, {"cmax"}, 29l, 0l, 4, -6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'}, |
127 | 127 | };
|
128 | 128 |
|
129 | 129 | /* ----------------------------------------------------------------
|
@@ -437,7 +437,7 @@ ConstructTupleDescriptor(Oid heapoid,
|
437 | 437 |
|
438 | 438 | ((AttributeTupleForm) to)->attnotnull = false;
|
439 | 439 | ((AttributeTupleForm) to)->atthasdef = false;
|
440 |
| - ((AttributeTupleForm) to)->atttypmod = 0; |
| 440 | + ((AttributeTupleForm) to)->atttypmod = -1; |
441 | 441 |
|
442 | 442 | /*
|
443 | 443 | * if the keytype is defined, we need to change the tuple form's
|
|
0 commit comments