OSDN Git Service

removed unneeded long spec on constants.
authorBruce Momjian <bruce@momjian.us>
Sun, 12 Jul 1998 23:41:19 +0000 (23:41 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 12 Jul 1998 23:41:19 +0000 (23:41 +0000)
src/backend/catalog/heap.c
src/backend/catalog/index.c

index 33a22f2..a8f8f27 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.51 1998/06/15 19:28:07 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.52 1998/07/12 23:41:18 momjian Exp $
  *
  * INTERFACE ROUTINES
  *             heap_create()                   - Create an uncataloged heap relation
@@ -97,32 +97,32 @@ static void RemoveConstraints(Relation rel);
  */
 
 static FormData_pg_attribute a1 = {
-       0xffffffff, {"ctid"}, 27l, 0l, sizeof(ItemPointerData),
+       0xffffffff, {"ctid"}, 27, 0, sizeof(ItemPointerData),
        SelfItemPointerAttributeNumber, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'
 };
 
 static FormData_pg_attribute a2 = {
-       0xffffffff, {"oid"}, 26l, 0l, sizeof(Oid),
+       0xffffffff, {"oid"}, 26, 0, sizeof(Oid),
        ObjectIdAttributeNumber, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'
 };
 
 static FormData_pg_attribute a3 = {
-       0xffffffff, {"xmin"}, 28l, 0l, sizeof(TransactionId),
+       0xffffffff, {"xmin"}, 28, 0, sizeof(TransactionId),
        MinTransactionIdAttributeNumber, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'
 };
 
 static FormData_pg_attribute a4 = {
-       0xffffffff, {"cmin"}, 29l, 0l, sizeof(CommandId),
+       0xffffffff, {"cmin"}, 29, 0, sizeof(CommandId),
        MinCommandIdAttributeNumber, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'
 };
 
 static FormData_pg_attribute a5 = {
-       0xffffffff, {"xmax"}, 28l, 0l, sizeof(TransactionId),
+       0xffffffff, {"xmax"}, 28, 0, sizeof(TransactionId),
        MaxTransactionIdAttributeNumber, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'
 };
 
 static FormData_pg_attribute a6 = {
-       0xffffffff, {"cmax"}, 29l, 0l, sizeof(CommandId),
+       0xffffffff, {"cmax"}, 29, 0, sizeof(CommandId),
        MaxCommandIdAttributeNumber, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'
 };
 
index 442bbd6..39639c0 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.44 1998/07/12 21:29:13 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.45 1998/07/12 23:41:19 momjian Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -118,12 +118,12 @@ DefaultBuild(Relation heapRelation, Relation indexRelation,
  * ----------------------------------------------------------------
  */
 static FormData_pg_attribute sysatts[] = {
-       {0l, {"ctid"}, 27l, 0l, 6, -1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
-       {0l, {"oid"}, 26l, 0l, 4, -2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
-       {0l, {"xmin"}, 28l, 0l, 4, -3, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
-       {0l, {"cmin"}, 29l, 0l, 4, -4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
-       {0l, {"xmax"}, 28l, 0l, 4, -5, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
-       {0l, {"cmax"}, 29l, 0l, 4, -6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
+       {0, {"ctid"}, 27, 0, 6, -1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
+       {0, {"oid"}, 26, 0, 4, -2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
+       {0, {"xmin"}, 28, 0, 4, -3, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
+       {0, {"cmin"}, 29, 0, 4, -4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
+       {0, {"xmax"}, 28, 0, 4, -5, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
+       {0, {"cmax"}, 29, 0, 4, -6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
 };
 
 /* ----------------------------------------------------------------