OSDN Git Service

Get rid of those pesky long constants, 'l'. Has no affect.
authorBruce Momjian <bruce@momjian.us>
Wed, 4 Mar 1998 18:41:08 +0000 (18:41 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 4 Mar 1998 18:41:08 +0000 (18:41 +0000)
src/include/catalog/pg_attribute.h

index 91ab9f4..31ff0ea 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_attribute.h,v 1.30 1998/02/26 04:40:48 momjian Exp $
+ * $Id: pg_attribute.h,v 1.31 1998/03/04 18:41:08 momjian Exp $
  *
  * NOTES
  *       the genbki.sh script reads this file and generates .bki
@@ -178,22 +178,22 @@ typedef FormData_pg_attribute *AttributeTupleForm;
  * ----------------
  */
 #define Schema_pg_type \
-{ 1247l, {"typname"},     19l, 0, NAMEDATALEN,  1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typowner"},    26l, 0,      4,      2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typlen"},      21l, 0,      2,      3, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1247l, {"typprtlen"},    21l, 0,     2,      4, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1247l, {"typbyval"},    16l, 0,      1,      5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1247l, {"typtype"},     18l, 0,      1,      6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1247l, {"typisdefined"}, 16l, 0,     1,      7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1247l, {"typdelim"},    18l, 0,      1,      8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1247l, {"typrelid"},    26l, 0,      4,      9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typelem"},     26l, 0,      4, 10, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typinput"},    24l, 0,      4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typoutput"},    24l, 0,     4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typreceive"},   24l, 0,     4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typsend"},     24l, 0,      4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1247l, {"typalign"},    18l, 0,      1, 15, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1247l, {"typdefault"},   25l, 0, -1, 16, 0, -1, -1, '\0'     , '\0', 'i', '\0', '\0' }
+{ 1247, {"typname"},      19, 0, NAMEDATALEN,  1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typowner"},     26, 0,       4,      2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typlen"},               21, 0,       2,      3, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1247, {"typprtlen"},     21, 0,      2,      4, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1247, {"typbyval"},     16, 0,       1,      5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1247, {"typtype"},      18, 0,       1,      6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1247, {"typisdefined"},  16, 0,      1,      7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1247, {"typdelim"},     18, 0,       1,      8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1247, {"typrelid"},     26, 0,       4,      9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typelem"},      26, 0,       4, 10, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typinput"},     24, 0,       4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typoutput"},     24, 0,      4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typreceive"},    24, 0,      4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typsend"},      24, 0,       4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1247, {"typalign"},     18, 0,       1, 15, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1247, {"typdefault"},    25, 0,  -1, 16, 0, -1, -1, '\0'     , '\0', 'i', '\0', '\0' }
 
 DATA(insert OID = 0 ( 1247 typname                     19 0 NAMEDATALEN   1 0 -1 -1 f f i f f));
 DATA(insert OID = 0 ( 1247 typowner                    26 0  4   2 0 -1 -1 t f i f f));
@@ -237,22 +237,22 @@ DATA(insert OID = 0 ( 1262 cmax                           29 0  4  -6 0 -1 -1 t f i f f));
  * ----------------
  */
 #define Schema_pg_proc \
-{ 1255l, {"proname"},                  19l, 0, NAMEDATALEN,  1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"proowner"},                 26l, 0,  4,  2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"prolang"},                  26l, 0,  4,  3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"proisinh"},                 16l, 0,  1,  4, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1255l, {"proistrusted"},             16l, 0,  1,  5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1255l, {"proiscachable"},            16l, 0,  1,  6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1255l, {"pronargs"},                 21l, 0,  2,  7, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1255l, {"proretset"},                        16l, 0,  1,  8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1255l, {"prorettype"},               26l, 0,  4,  9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"proargtypes"},              30l, 0, 32, 10, 0, -1, -1,      '\0', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"probyte_pct"},              23l, 0,  4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"properbyte_cpu"},   23l, 0,  4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"propercall_cpu"},   23l, 0,  4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"prooutin_ratio"},   23l, 0,  4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"prosrc"},                   25l, 0, -1,  15,        0l, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
-{ 1255l, {"probin"},                   17l, 0, -1,  16,        0l, -1, -1, '\0', '\0', 'i', '\0', '\0' }
+{ 1255, {"proname"},                   19, 0, NAMEDATALEN,  1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"proowner"},                  26, 0,  4,  2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"prolang"},                   26, 0,  4,  3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"proisinh"},                  16, 0,  1,  4, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1255, {"proistrusted"},              16, 0,  1,  5, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1255, {"proiscachable"},             16, 0,  1,  6, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1255, {"pronargs"},                  21, 0,  2,  7, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1255, {"proretset"},                 16, 0,  1,  8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1255, {"prorettype"},                        26, 0,  4,  9, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"proargtypes"},               30, 0, 32, 10, 0, -1, -1,       '\0', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"probyte_pct"},               23, 0,  4, 11, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"properbyte_cpu"},            23, 0,  4, 12, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"propercall_cpu"},            23, 0,  4, 13, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"prooutin_ratio"},            23, 0,  4, 14, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"prosrc"},                            25, 0, -1,  15, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
+{ 1255, {"probin"},                            17, 0, -1,  16, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }
 
 DATA(insert OID = 0 ( 1255 proname                     19 0 NAMEDATALEN   1 0 -1 -1 f f i f f));
 DATA(insert OID = 0 ( 1255 proowner                    26 0  4   2 0 -1 -1 t f i f f));
@@ -315,20 +315,20 @@ DATA(insert OID = 0 ( 1261 cmax                           29 0  4  -6 0 -1 -1 t f i f f));
  * ----------------
  */
 #define Schema_pg_attribute \
-{ 1249l, {"attrelid"},   26l, 0,       4,      1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1249l, {"attname"},    19l, 0, NAMEDATALEN,  2, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
-{ 1249l, {"atttypid"},   26l, 0,       4,      3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1249l, {"attdisbursion"},   700l, 0, 4,      4, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
-{ 1249l, {"attlen"},     21l, 0,       2,      5, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1249l, {"attnum"},     21l, 0,       2,      6, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1249l, {"attnelems"},   23l, 0,      4,      7, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1249l, {"attcacheoff"}, 23l, 0,      4,      8, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1249l, {"atttypmod"},   21l, 0,      2,      9, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1249l, {"attbyval"},   16l, 0,       1, 10, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1249l, {"attisset"},   16l, 0,       1, 11, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1249l, {"attalign"},   18l, 0,       1, 12, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 12491, {"attnotnull"},  16l, 0,      1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 12491, {"atthasdef"},   16l, 0,      1, 14, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }
+{ 1249, {"attrelid"},    26, 0,        4,      1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1249, {"attname"},     19, 0, NAMEDATALEN,   2, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
+{ 1249, {"atttypid"},    26, 0,        4,      3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1249, {"attdisbursion"}, 700, 0,     4,      4, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
+{ 1249, {"attlen"},              21, 0,        2,      5, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1249, {"attnum"},              21, 0,        2,      6, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1249, {"attnelems"},   23, 0,        4,      7, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1249, {"attcacheoff"},  23, 0,       4,      8, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1249, {"atttypmod"},   21, 0,        2,      9, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1249, {"attbyval"},    16, 0,        1, 10, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1249, {"attisset"},    16, 0,        1, 11, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1249, {"attalign"},    18, 0,        1, 12, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 12491, {"attnotnull"},  16, 0,       1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 12491, {"atthasdef"},   16, 0,       1, 14, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }
 
 DATA(insert OID = 0 ( 1249 attrelid                    26 0  4   1 0 -1 -1 t f i f f));
 DATA(insert OID = 0 ( 1249 attname                     19 0 NAMEDATALEN  2 0 -1 -1 f f i f f));
@@ -356,20 +356,20 @@ DATA(insert OID = 0 ( 1249 cmax                           29 0  4  -6 0 -1 -1 t f i f f));
  * ----------------
  */
 #define Schema_pg_class \
-{ 1259l, {"relname"},     19l, 0, NAMEDATALEN,  1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
-{ 1259l, {"reltype"},     26l, 0,      4,      2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1259l, {"relowner"},    26l, 0,      4,      3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1259l, {"relam"},               26l, 0,      4,      4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1259l, {"relpages"},    23,  0l,  4,  5, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1259l, {"reltuples"},    23, 0l,  4,  6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1259l, {"relhasindex"},  16, 0l,  1,  7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1259l, {"relisshared"},  16, 0l,  1,  8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1259l, {"relkind"},     18,  0l,  1,  9, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1259l, {"relnatts"},    21,  0l,  2, 10, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1259l, {"relchecks"},    21l, 0,     2, 11, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1259l, {"reltriggers"},  21l, 0,     2, 12, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
-{ 1259l, {"relhasrules"},  16, 0l,  1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
-{ 1259l, {"relacl"},    1034l, 0, -1, 14, 0, -1, -1,   '\0', '\0', 'i', '\0', '\0' }
+{ 1259, {"relname"},      19, 0, NAMEDATALEN,  1, 0, -1, -1, '\0', '\0', 'i', '\0', '\0' }, \
+{ 1259, {"reltype"},      26, 0,       4,      2, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1259, {"relowner"},     26, 0,       4,      3, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1259, {"relam"},                26, 0,       4,      4, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1259, {"relpages"},     23,  0,  4,  5, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1259, {"reltuples"},     23, 0,  4,  6, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1259, {"relhasindex"},   16, 0,  1,  7, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1259, {"relisshared"},   16, 0,  1,  8, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1259, {"relkind"},      18,  0,  1,  9, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1259, {"relnatts"},     21,  0,  2, 10, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1259, {"relchecks"},     21, 0,      2, 11, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1259, {"reltriggers"},   21, 0,      2, 12, 0, -1, -1, '\001', '\0', 's', '\0', '\0' }, \
+{ 1259, {"relhasrules"},   16, 0,  1, 13, 0, -1, -1, '\001', '\0', 'c', '\0', '\0' }, \
+{ 1259, {"relacl"},             1034, 0, -1, 14, 0, -1, -1,    '\0', '\0', 'i', '\0', '\0' }
 
 DATA(insert OID = 0 ( 1259 relname                     19 0 NAMEDATALEN   1 0 -1 -1 f f i f f));
 DATA(insert OID = 0 ( 1259 reltype                     26 0  4   2 0 -1 -1 t f i f f));
@@ -447,7 +447,7 @@ DATA(insert OID = 0 ( 1219 cmax                             29 0  4  -6 0 -1 -1 t f i f f));
  * ----------------
  */
 #define Schema_pg_variable \
-{ 1264l, {"varfoo"},  26l, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
+{ 1264, {"varfoo"},  26, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
 
 DATA(insert OID = 0 ( 1264 varfoo                      26 0  4   1 0 -1 -1 t f i f f));
 
@@ -458,7 +458,7 @@ DATA(insert OID = 0 ( 1264 varfoo                   26 0  4   1 0 -1 -1 t f i f f));
  * ----------------
  */
 #define Schema_pg_log \
-{ 1269l, {"logfoo"},  26l, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
+{ 1269, {"logfoo"},  26, 0, 4, 1, 0, -1, -1, '\001', '\0', 'i', '\0', '\0' }
 
 DATA(insert OID = 0 ( 1269 logfoo                      26 0  4   1 0 -1 -1 t f i f f));