]> granicus.if.org Git - postgresql/commitdiff
Set attbyval for attdisbursion to FALSE
authorVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 22 Aug 1997 04:04:19 +0000 (04:04 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 22 Aug 1997 04:04:19 +0000 (04:04 +0000)
Set atttype for relchecks to 21 (int2)
Set relkind for pg_attrdef & pg_relcheck to 'n'

src/include/catalog/pg_attribute.h
src/include/catalog/pg_class.h

index c7192c99782e07ae1ee14a31343f7f694458fecd..636077d33b785d5672389aadf9bbf52ed566a42d 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_attribute.h,v 1.11 1997/08/21 03:02:13 momjian Exp $
+ * $Id: pg_attribute.h,v 1.12 1997/08/22 04:04:18 vadim Exp $
  *
  * NOTES
  *    the genbki.sh script reads this file and generates .bki
@@ -362,7 +362,7 @@ DATA(insert OID = 0 ( 1261 vtype            18 0  1 -11 0 -1 t f c f f));
 { 1249l, {"attrelid"},    26l, 0l,  4,  1, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \
 { 1249l, {"attname"},     19l, 0l, NAMEDATALEN,  2, 0l, -1l, '\0', '\0', 'i', '\0', '\0' }, \
 { 1249l, {"atttypid"},    26l, 0l,  4,  3, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \
-{ 1249l, {"attdisbursion"},   700l, 0l,  4,  4, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \
+{ 1249l, {"attdisbursion"},   700l, 0l,  4,  4, 0l, -1l, '\0', '\0', 'i', '\0', '\0' }, \
 { 1249l, {"attlen"},      21l, 0l,  2,  5, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \
 { 1249l, {"attnum"},      21l, 0l,  2,  6, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \
 { 1249l, {"attnelems"},   23l, 0l,  4,  7, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \
@@ -376,7 +376,7 @@ DATA(insert OID = 0 ( 1261 vtype            18 0  1 -11 0 -1 t f c f f));
 DATA(insert OID = 0 ( 1249 attrelid         26 0  4   1 0 -1 t f i f f));
 DATA(insert OID = 0 ( 1249 attname          19 0 NAMEDATALEN  2 0 -1 f f i f f));
 DATA(insert OID = 0 ( 1249 atttypid         26 0  4   3 0 -1 t f i f f));
-DATA(insert OID = 0 ( 1249 attdisbursion   700 0  4   4 0 -1 t f i f f));
+DATA(insert OID = 0 ( 1249 attdisbursion   700 0  4   4 0 -1 f f i f f));
 DATA(insert OID = 0 ( 1249 attlen           21 0  2   5 0 -1 t f s f f));
 DATA(insert OID = 0 ( 1249 attnum           21 0  2   6 0 -1 t f s f f));
 DATA(insert OID = 0 ( 1249 attnelems        23 0  4   7 0 -1 t f i f f));
@@ -417,7 +417,7 @@ DATA(insert OID = 0 ( 1249 vtype            18 0  1 -11 0 -1 t f c f f));
 { 1259l, {"relarch"},      18,  0l,  1, 11, 0l, -1l, '\001', '\0', 'c', '\0', '\0' }, \
 { 1259l, {"relnatts"},     21,  0l,  2, 12, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \
 { 1259l, {"relsmgr"},      210l, 0l, 2, 13, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \
-{ 1259l, {"relchecks"},    210l, 0l, 2, 14, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \
+{ 1259l, {"relchecks"},    21l, 0l, 2, 14, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \
 { 1259l, {"relhasrules"},  16,  0l,  1, 15, 0l, -1l, '\001', '\0', 'c', '\0', '\0' }, \
 { 1259l, {"relacl"},     1034l, 0l, -1, 16, 0l, -1l,   '\0', '\0', 'i', '\0', '\0' }
 
@@ -435,7 +435,7 @@ DATA(insert OID = 0 ( 1259 relkind          18 0  1  10 0 -1 t f c f f));
 DATA(insert OID = 0 ( 1259 relarch          18 0  1  11 0 -1 t f c f f));
 DATA(insert OID = 0 ( 1259 relnatts         21 0  2  12 0 -1 t f s f f));
 DATA(insert OID = 0 ( 1259 relsmgr         210 0  2  13 0 -1 t f s f f));
-DATA(insert OID = 0 ( 1259 relchecks       210 0  2  14 0 -1 t f s f f));
+DATA(insert OID = 0 ( 1259 relchecks        21 0  2  14 0 -1 t f s f f));
 DATA(insert OID = 0 ( 1259 relhasrules      16 0  1  15 0 -1 t f c f f));
 DATA(insert OID = 0 ( 1259 relacl         1034 0 -1  16 0 -1 f f i f f));
 DATA(insert OID = 0 ( 1259 ctid             27 0  6  -1 0 -1 f f i f f));
index 3a3e0dc0f9c814676cf0ec7d37949a10d1478e24..83a0accf1b9cf30bcf66597306cf91f143b85f59 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_class.h,v 1.6 1997/08/21 01:37:52 vadim Exp $
+ * $Id: pg_class.h,v 1.7 1997/08/22 04:04:19 vadim Exp $
  *
  * NOTES
  *    ``pg_relation'' is being replaced by ``pg_class''.  currently
@@ -135,8 +135,8 @@ DATA(insert OID = 1264 (  pg_variable 90      PGUID 0 0 0 0 0 f t s n 2 0 0 f _n
 DATA(insert OID = 1269 (  pg_log  99          PGUID 0 0 0 0 0 f t s n 1 0 0 f _null_ ));
 DATA(insert OID = 1271 (  pg_time 100         PGUID 0 0 0 0 0 f t s n 1 0 0 f _null_ ));
 DATA(insert OID = 1273 (  pg_hosts 101        PGUID 0 0 0 0 0 f t s n 3 0 0 f _null_ ));
-DATA(insert OID = 1215 (  pg_attrdef 109      PGUID 0 0 0 0 0 t t s n 4 0 0 f _null_ ));
-DATA(insert OID = 1216 (  pg_relcheck 110     PGUID 0 0 0 0 0 t t s n 4 0 0 f _null_ ));
+DATA(insert OID = 1215 (  pg_attrdef 109      PGUID 0 0 0 0 0 t t r n 4 0 0 f _null_ ));
+DATA(insert OID = 1216 (  pg_relcheck 110     PGUID 0 0 0 0 0 t t r n 4 0 0 f _null_ ));
 
 #define RelOid_pg_type         1247
 #define RelOid_pg_demon        1251