Skip to content

Commit dc18918

Browse files
committed
removed unneeded long spec on constants.
1 parent 683f399 commit dc18918

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/backend/catalog/heap.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.51 1998/06/15 19:28:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.52 1998/07/12 23:41:18 momjian Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
* heap_create() - Create an uncataloged heap relation
@@ -97,32 +97,32 @@ static void RemoveConstraints(Relation rel);
9797
*/
9898

9999
static FormData_pg_attribute a1 = {
100-
0xffffffff, {"ctid"}, 27l, 0l, sizeof(ItemPointerData),
100+
0xffffffff, {"ctid"}, 27, 0, sizeof(ItemPointerData),
101101
SelfItemPointerAttributeNumber, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'
102102
};
103103

104104
static FormData_pg_attribute a2 = {
105-
0xffffffff, {"oid"}, 26l, 0l, sizeof(Oid),
105+
0xffffffff, {"oid"}, 26, 0, sizeof(Oid),
106106
ObjectIdAttributeNumber, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'
107107
};
108108

109109
static FormData_pg_attribute a3 = {
110-
0xffffffff, {"xmin"}, 28l, 0l, sizeof(TransactionId),
110+
0xffffffff, {"xmin"}, 28, 0, sizeof(TransactionId),
111111
MinTransactionIdAttributeNumber, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'
112112
};
113113

114114
static FormData_pg_attribute a4 = {
115-
0xffffffff, {"cmin"}, 29l, 0l, sizeof(CommandId),
115+
0xffffffff, {"cmin"}, 29, 0, sizeof(CommandId),
116116
MinCommandIdAttributeNumber, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'
117117
};
118118

119119
static FormData_pg_attribute a5 = {
120-
0xffffffff, {"xmax"}, 28l, 0l, sizeof(TransactionId),
120+
0xffffffff, {"xmax"}, 28, 0, sizeof(TransactionId),
121121
MaxTransactionIdAttributeNumber, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'
122122
};
123123

124124
static FormData_pg_attribute a6 = {
125-
0xffffffff, {"cmax"}, 29l, 0l, sizeof(CommandId),
125+
0xffffffff, {"cmax"}, 29, 0, sizeof(CommandId),
126126
MaxCommandIdAttributeNumber, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'
127127
};
128128

src/backend/catalog/index.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.44 1998/07/12 21:29:13 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.45 1998/07/12 23:41:19 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -118,12 +118,12 @@ DefaultBuild(Relation heapRelation, Relation indexRelation,
118118
* ----------------------------------------------------------------
119119
*/
120120
static FormData_pg_attribute sysatts[] = {
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'},
121+
{0, {"ctid"}, 27, 0, 6, -1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
122+
{0, {"oid"}, 26, 0, 4, -2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
123+
{0, {"xmin"}, 28, 0, 4, -3, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
124+
{0, {"cmin"}, 29, 0, 4, -4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
125+
{0, {"xmax"}, 28, 0, 4, -5, 0, -1, -1, '\0', '\0', 'i', '\0', '\0'},
126+
{0, {"cmax"}, 29, 0, 4, -6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0'},
127127
};
128128

129129
/* ----------------------------------------------------------------

0 commit comments

Comments
 (0)